shaharsol
shaharsol

Reputation: 1020

When a Paypal billing subscription is charged for the 2nd time, what event is fired to the webhook?

Let's say I created a billing plan, then billing agreement (i.e. subscription) that chrages monthly and infinitely, via the Paypal REST API, and provided I have a webhook that listens on all events: what event type will be fired next month when the client is charged?

Here's a list of all the possible events, I tried many of them in the simulator, but none returns something that resembles an ID of the associated billing agreement.

Upvotes: 2

Views: 121

Answers (1)

shaharsol
shaharsol

Reputation: 1020

I found out the hard way. It is PAYMENT.SALE.COMPLETED

You get the billing agreement id via event.resource.billing_agreement_id

Upvotes: 2

Related Questions