#zxcvbnm123-setupintent
1 messages · Page 1 of 1 (latest)
sub_1KyZXqCoFmyvpe16nArrz3Po 🙂
The price of that subscription is $0, so as soon as you create the subscription, is will have status: "active" as you can see in this request: https://dashboard.stripe.com/test/logs/req_UeWZJbYur58i0X
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.
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.
If you pass a test card that should fail, then the setupintent should fail. Can you share the setupintent ID?
seti_1KyZXqCoFmyvpe169rLKnk65
I see you used test card 4000000000009987 (Lost card decline) and the SetupIntent succeeded. Hum...