#ahmad-source-action

1 messages ยท Page 1 of 1 (latest)

frigid coral
compact wind
#

For context, here is what I do:

  1. tokenize the payment info using stripe elements,
  2. create a customer with token id and user info
  3. create a subscription.
#

so there is no createPaymentMethod part has been omitted all together.

frigid coral
#

Sincere apologies for the delay, we're juggling several threads at the moment.

compact wind
#

No worries.

frigid coral
#

Hm, I would expect the cards with insufficient balance to result in the intent reverting to a requires_source status rather than requires_source_action.

compact wind
#

yes that is what I suspected. should I share with you the subscription id?

frigid coral
#

You read my mind ๐Ÿ˜„

compact wind
#

not my first time around here ๐Ÿ™‚

#

{
subscription_status: 'incomplete',
intent_status: 'requires_source_action',
subscription_id: 'sub_1Jn1ZOFI1KEgscdT0cCdaMaF'
}

#

I used this card : 4000008260003178

frigid coral
#

I think this card requires authentication if it wasn't previously set up, but am working to confirm now.

compact wind
#

Thank you

frigid coral
#

Yup, I just tried it in my flow and it triggered the 3DS popup, so it makes sense that it would fall into a requires_source_action state.

compact wind
#

So the card will fail after the authentication then.

frigid coral
#

Correct, if you approve the authentication challenge, then the card will fail with insufficient funds after that.

compact wind
#

Thank you toby,

frigid coral
#

Not a problem!