diff --git a/donations/donations.php b/donations/donations.php index 1bf52f7..bdedb90 100644 --- a/donations/donations.php +++ b/donations/donations.php @@ -9,7 +9,7 @@ function createDonation($amount) { curl_setopt($ch, CURLOPT_URL, $dolibarrURL); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); - curl_setopt($ch, CURLOPT_POSTFIELDS, "{\"amount\": ".$amount.", \"date\": 1676545200, \"socid\": ".$BusinesspartnerID.", \"note_public\": ".$pulicNote."}"); + curl_setopt($ch, CURLOPT_POSTFIELDS, "{\"amount\": ".$amount.", \"date\": 1676545200, \"socid\": ".$BusinesspartnerID."}"); $headers = array(); $headers[] = 'Content-Type: application/json';