#srbartlett
1 messages · Page 1 of 1 (latest)
Hello! It sounds like you might want to use pending updates: https://stripe.com/docs/billing/subscriptions/pending-updates
thanks @limpid pecan - that looks a good approach. I assume if the payment eventually succeeds the Subscription object would be sent without the pending_update hash present?
Yeah, if you use pending updates and the payment succeeds the pending updates are applied immediately, and there won't be anything in the pending_updates property.
I recommend you give it a try in test mode with test cards that both succeed and fail to get an idea of how it works.
You can, for example, attach 4000000000000341 to a Customer successfully in test mode, but then all payments will fail.
See also Test Clocks, if you want to speed up time in test mode: https://stripe.com/docs/billing/testing/test-clocks