#Disconsented-fulfilment
1 messages ยท Page 1 of 1 (latest)
Generally we recommend relying on webhooks for fulfilment/post-payment actions yes
Do I need to recreate the client secret when an order needs to change (I.E. applying a coupon)?
You mean updating the Payment Intent?
I guess so
I've been pre provisioning my service (reserving resources really), and then activating it once the subscription is active. I guess I'll just have to pass context via the webhooks to handle this now, correct?
Unless there's something I've missed the alternative is now introducing new rows for services that may activate
No, the client_secret remains the same. You just update the PI fields: https://stripe.com/docs/api/payment_intents/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Huh okay, interesting
You would generally wait for invoice.paid events or check the status of the sub_xxx object: https://stripe.com/docs/billing/subscriptions/overview#subscription-lifecycle
๐ thanks!
np!