which paypal webhook will i receive on next billing cycle payment in subscription

523 Views Asked by At

i am getting webhook for new created subscription which are BILLING.SUBSCRIPTION.CREATED , BILLING.SUBSCRIPTION.ACTIVATED AND PAYMENT.SALE.COMPLETED

i am giving access them premium feature on BILLING.SUBSCRIPTION.ACTIVATED webhook.

if my subscription is monthly and i had buy subscription on 1st jan, so on my next billing time maybe 1st february , which webhooks i will receive on 1st february, how can i know paymenent is done on 1st feb

1

There are 1 best solutions below

4
On

PAYMENT.SALE.COMPLETED is the only important one, you can build all your business logic based on solely that webhook, updating your records every time you get it

BILLING.SUBSCRIPTION.CREATED is of zero value, and BILLING.SUBSCRIPTION.ACTIVATED is not necessary

If necessary to aid in reconciliation, you can add a custom_id parameter when creating the subscription. This will be returned in all future webhooks for that subscription.