#Skarmoryman-payment-intents

1 messages · Page 1 of 1 (latest)

opaque pike
#

If a card is declined you should always be getting some kind of error - for the most part, these should be 402/CardErrors

tiny pollen
#

thanks. So I dont need an additional check just incase there was no error in python right?

Say, there's card_declined due to lost_card, there's gonna be a http 402, and result in cardError in Python. Am I correct?

opaque pike
#

Yes, in general these should be 402 errors - we've seen some edge cases where sometimes these come back as 400s (invalid request errors), but that's rare and is usually unexpected

tiny pollen
#

thanks. That should be fine for what im doing, as long as 400s also raise an error in the Stripe Python api.

opaque pike
#

👍