#gstauf
1 messages · Page 1 of 1 (latest)
Hi there
Hi
When you say "failed paymentintent", do you mean a failed charge attempt?
yeah,
Gotcha, quickest way would be to just use on of our test cards that declines: https://stripe.com/docs/testing#declined-payments
You can do this right in the Dashboard, or you can set the payment_method param via the API: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
At this point we store the card, and stripe doesnt allow us to store a card that doesnt work
I just want to see the response data
You mean you attach a card to a Customer?
yes
In that case, you want to use the 4000000000000341 card
Which allows for attachment but then declines on charge
Awesome, thanks