#abdul-subscription-qs

1 messages ยท Page 1 of 1 (latest)

unreal sphinxBOT
rich laurel
#

Use that to determine if access should be permitted or not

fast haven
#

Thanks for the quick reply. Is this based on JSON

unreal sphinxBOT
rich laurel
#

The data.object field includes a snapshot of the full API object (Invoice in the case of invoice.paid events) at the time of the event

fast haven
#

Thats great. So for the step by step process. I will add the customer on my stripe account and then my (inhouse) software will send a request to check if the payment was made for that month is ok and then continue

mortal mantle
#

๐Ÿ‘‹ taking over

I will add the customer on my stripe account and then my (inhouse) software will send a request to check if the payment was made for that month is ok and then continue
It is a bit more involved than just adding the customer.
You'd create a customer, create a subscription and then listen for the webhook events outlined in the docs my colleague shared.

Once you do that, your server-side code will receive stripe events for things happening with subscription like creation, renewal or even failed payments.

When you receive those events, you can decide how you want to handle them

unreal sphinxBOT
#

abdul-subscription-qs

fast haven
#

Great thanks hanzo and ynnoj, I'll go through the webhook events documentation and get back to you if I have any further questions.

mortal mantle
#

NP! ๐Ÿ™‚ Happy to help

fast haven
#

If I do have further questions, should I be coming back to this thread?