Webhook ACTIVATE.SUBSCRIPTION missing Agreement ID in Sandbox

black-window
Contributor
Contributor

Created a subscription button and set a webhook.

I do not get a Agreement ID:

 

{"id":"WH-1NV57124U7120923S-93E888338V084272F","event_version":"1.0","create_time":"2022-03-17T00:35:12.551Z","resource_type":"subscription","resource_version":"2.0","event_type":"BILLING.SUBSCRIPTION.ACTIVATED","summary":"Subscription activated","resource":{"quantity":"1","subscriber":{"email_address":"","payer_id":"XZ6SMVYL6CJT4","name":{"given_name":"test","surname":"buyer"},"shipping_address":{"address":{"address_line_1":"[removed]. 1","admin_area_2":"Freiburg","admin_area_1":"Empty","postal_code":"[removed]","country_code":"DE"}}},"create_time":"2022-03-17T00:34:44Z","plan_overridden":false,"shipping_amount":{"currency_code":"EUR","value":"0.0"},"start_time":"2022-03-17T00:34:28Z","update_time":"2022-03-17T00:34:45Z","billing_info":{"outstanding_balance":{"currency_code":"EUR","value":"0.0"},"cycle_executions":[{"tenure_type":"REGULAR","sequence":1,"cycles_completed":1,"cycles_remaining":0,"current_pricing_scheme_version":1,"total_cycles":0}],"last_payment":{"amount":{"currency_code":"EUR","value":"19.99"},"time":"2022-03-17T00:34:44Z"},"next_billing_time":"2022-04-17T10:00:00Z","failed_payments_count":0},"links":[{"href":"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-W3L44KAAWUL0/cancel","rel":"cancel","method":"POST","encType":"application/json"},{"href":"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-W3L44KAAWUL0","rel":"edit","method":"PATCH","encType":"application/json"},{"href":"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-W3L44KAAWUL0","rel":"self","method":"GET","encType":"application/json"},{"href":"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-W3L44KAAWUL0/suspend","rel":"suspend","method":"POST","encType":"application/json"},{"href":"https://api.sandbox.paypal.com/v1/billing/subscriptions/I-W3L44KAAWUL0/capture","rel":"capture","method":"POST","encType":"application/json"}],"id":"I-W3L44KAAWUL0","plan_id":"P-7SL34546G9706613BMIZGEXQ","status":"ACTIVE","status_update_time":"2022-03-17T00:34:45Z"},"links":[{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1NV57124U7120923S-93E888338V08427...","rel":"self","method":"GET"},{"href":"https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-1NV57124U7120923S-93E888338V08427...","rel":"resend","method":"POST"}]}

 

Is there something i am missing?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.