#ks56_
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ks56_, 12 hours ago, 6 messages
We are confirming payment in node.api and not react
We have this doc that explains each subscription webhook event
https://docs.stripe.com/billing/subscriptions/webhooks
The event you should listen to depends on what you're planning to do with it. I'd recommend reading through the doc above
But on ala carte should i go with payment intent or what? I'm a bit confused here.
Also if i listen to payment intent webhooks im not getting that this payment intent is for which subscription
How can i get linkage of payment intent and subscription?
The payment intent should have the associated invoice ID on it
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-invoice
You can expand that and look for invoice.subscription parameter for the subscription ID