Hello, i'm trying to create a new billing agreement with my customers using the REST API and the PHP-SDK. Then I'll request the API to create a new agreement, passing a correct plan-ID, i'll get this response: { "name": "Base Agreement", "description": "Basic Agreement", "start_date": "2018-08-15T13:32:38+00:00", "plan": { "id": "P-1JR66297L7128100YH******", "state": "ACTIVE", "name": "Test Workflow", "description": "Test Workflow", "type": "INFINITE", "payment_definitions": [{ "id": "PD-0HN28616CR5245516H******", "name": "Monatliche Rechnung", "type": "REGULAR", "frequency": "Month", "amount": { "currency": "EUR", "value": "100" }, "cycles": "0", "charge_models": [], "state": null, "frequency_interval": "1" }], "merchant_preferences": { "setup_fee": { "currency": "EUR", "value": "0" }, "max_fail_attempts": "0", "return_url": "http://localhost/frontend/ExecuteAgreement.php?success=true", "cancel_url": "http://localhost/frontend/ExecuteAgreement.php?success=false", "notify_url": null, "id": null, "state": null, "auto_bill_amount": "NO", "initial_fail_amount_action": "CONTINUE", "accepted_payment_type": null, "char_set": null } }, "links": [{ "href": "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-27336791K47******", "rel": "approval_url", "method": "REDIRECT" }, { "href": "https://api.sandbox.paypal.com/v1/payments/billing-agreements/EC-27336791K47******/agreement-execute", "rel": "execute", "method": "POST" }] } As you can see, the agreement is correctly created, but there is no id of the agreement. If i'll call the approval-url, it takes me correctly to the PayPal Loginpage. But also on return to my server i don't get any hint about the agreement id. How do i get it? In the Developer Docs it is mentioned, that there should be a field id, but it is not there. A bug in the API or do i make something wrong? PayPal-Debug-ID: 283eb878ec5d1
... View more