#Mr.Medi

1 messages · Page 1 of 1 (latest)

sterile escarpBOT
hot pewter
#

or do i have to use another event in order to create the payment register in my local db?

glossy seal
#

Hi! Let me help you with this.

#

It depends how you're creating the Subscription. Could you please share the ID? sub_xxx

hot pewter
#

yeah, sub_1Nab3vJKetCvGTPaEEf6tj0w

#

I created many subscriptions related to that customer

#

when i get the webhook event customer.subscription.created the status is incomplete when the user access the payment page, but im not sure the best way to check when the payment is completed

glossy seal
#

You can listen to customet.subscription.updated, and check the status to be active.

hot pewter
#

it makes sense, thank you!

#

Just one question, how can I know what subscription is the related to the webhook event?

glossy seal
#

It has the ID sub_xxx

hot pewter
#

perfect, i will check that

glossy seal
#

Happy to help!