#gosborn
1 messages · Page 1 of 1 (latest)
AFAIK that isn't an option due to how the Apple Pa API works
Thanks for the reply! That's a bummer for our QA purposes. I have a followup question then:
stripe.PaymentIntent.confirm does this always return an Exception for any state other than successful "succeeded"?
This is using the Python SDK
It returns the API response, which will be a Payment Intent in whatever state is appropriate
It will throw an exception if there is an API request error.
We recently refreshed our Error handling docs: https://stripe.com/docs/error-handling. You might find these examples useful.
Awesome, thank you! Looks like a 'confirm' call could throw a stripe.error.CardError exception? According to these docs https://stripe.com/docs/payments/accept-a-payment-synchronously?platform=web#confirm-payment
Yes that is true
Great - thank you!