#benscutt
1 messages · Page 1 of 1 (latest)
Hello 👋
Not sure, taking a look. Out of curiosity, which test card did you use for this?
Thank you!
I used the card numbered 4000003560000123 - "Simulates successful mandate setup and renewals."
Gotcha. I know payments can stay in processing upto approximately 72 hours.
Ah found the doc
https://stripe.com/docs/india-recurring-payments#webhooks
Its expected in livemode too
Stripe creates the Mandates object (returned as part of the mandate setup) in the pending state. When the mandate transitions to an active state (approximately 60-90 seconds), a mandate.updated webhook is emitted.
Same behavior across livemode and test mode in regards to delay with Mandate setup. The difference is when you accept a payment, test mode payment would usually succeed in 15 minutes and live mode payment can take upto 72 hours
Brilliant, thanks!
NP! 🙂 Happy to help
Is the mandate required for the initial subscription creation payment? Or just for the subsequent recurring payments?
As in, do I need the mandate to be active when I create the subscription?
It depends on how you're creating the subscriptions really. With the usual flow, your customer is typically around to undergo AFA (3DS).
After which Stripe sets up a mandate for recurring payments
https://stripe.com/docs/india-recurring-payments#webhooks:~:text=First%2C there’s no,up the mandate
The behavior might be different if you're creating subscriptions off-session (when the customer isn't around to perform 3DS/AFA)
Would recommend testing it out to be 100% sure of the intended behavior