#flacoski-testing
1 messages · Page 1 of 1 (latest)
@midnight storm do you have an example of the 200 https://support.stripe.com/questions/finding-the-id-for-an-api-request ? but to be clear, that card can be used to attach to a customer and succeed, it only fails when making a payment.
Yes, i'm resuming the subscription because it's paused
I see. do you have an example of the 200 https://support.stripe.com/questions/finding-the-id-for-an-api-request ? The one that succeeded but you expected to fail?
here
do you need the link?
i have configured the card 4000000000000341 and it's failing the payment (that is what I want) but the response is 200 ok. I need to rescue a Stripe::CardError
Hi taking over for karllekko here. Looking into this
It looks like the payment actually didn't succeed here. The subscription is in a past due state. What succeeded was just the "unpausing"
Yes, but i want to not succeed in the unpausing
i need to get a CardError when i try to resume the subscription
what can i do?
You can look at the latest_invoice state on the returned subscription object