简体   繁体   中英

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM