#zxcvbnm123-setupintent

1 messages · Page 1 of 1 (latest)

paper folio
#

Hi! Can you share the subscription ID?

amber crane
#

sub_1KyZXqCoFmyvpe16nArrz3Po 🙂

paper folio
#

Separately you can collect payment information with subscription.pending_setup_intent, but if it fails the subscription will stay active since there's currently nothing to pay.

amber crane
#

That's fine. My issue is that if I pass card details that should fail because the card is stolen then I'd expect from the documentation that the returned response from stripe.confirmCardSetup(clientSecret,data?,options?) would be a result.error response. However is always returns a successful SetupIntent object.

#

"Separately you can collect payment information with subscription.pending_setup_intent, but if it fails the subscription will stay active since there's currently nothing to pay."
This is what I'm attempting to do but it never fails.

paper folio
#

If you pass a test card that should fail, then the setupintent should fail. Can you share the setupintent ID?

amber crane
#

seti_1KyZXqCoFmyvpe169rLKnk65

paper folio
#

I see you used test card 4000000000009987 (Lost card decline) and the SetupIntent succeeded. Hum...