#benscutt

1 messages · Page 1 of 1 (latest)

zinc aspenBOT
lone kayak
#

Hello 👋
Not sure, taking a look. Out of curiosity, which test card did you use for this?

violet thicket
#

Thank you!

#

I used the card numbered 4000003560000123 - "Simulates successful mandate setup and renewals."

lone kayak
#

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

violet thicket
#

Brilliant, thanks!

lone kayak
#

NP! 🙂 Happy to help

violet thicket
#

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?

lone kayak
#

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

violet thicket
#

Thanks - the subscriptions are created on-session, so sounds like it should work

#

But will obviously test thoroughly