#afenster

1 messages · Page 1 of 1 (latest)

ornate leafBOT
zealous anvil
#

The action.status updates to succeeded for a successful payment. This means you can proceed with completing the transaction. Other values for action.status include failed or in_progress.

#

After process_payment_intent is succeeded (not successful), you need to capture the payment to complete it, or you could refund/cancel the payment intent

shrewd raptor
#

My only concern was trying to cancel after the card is swiped and before it is approved or rejected. Is that something I need to concern myself with? What happens if I do that?

#

Would anything break if I cancelled in that time period?

zealous anvil
#

You might get an error if the action proceeded far enough that it could not be cancelled, so I'd say defending against possible errors is a good position to take

#

I wouldn't expect problems, per se, I'd expect the action cancelation to either succeed or fail/error

shrewd raptor
#

OK. I was thinking succeeded and failed referred to the success at swiping the card, but it doesn't. It refers to payment success or failure. OK that answers it. Thank you.

plain sonnet
#

Hello 👋
Taking over as synthrider needs to step away soon