From d1768eec8b717a80d494323f4654324fe5546cfe Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 16 Feb 2023 15:04:59 +0100 Subject: [PATCH] donations.php --- donations/donations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/donations/donations.php b/donations/donations.php index bdedb90..d6d93d9 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."}"); + curl_setopt($ch, CURLOPT_POSTFIELDS, "{\"amount\": ".$amount.", \"date\": 1676545200, \"socid\": ".$BusinesspartnerID.", \"note_public\": Automatisch generiert von genderwatchprotocol.com}"); $headers = array(); $headers[] = 'Content-Type: application/json';