I'm trying to change the behavior of the stripe checkout result.
Currently, when the payment details pass the basic validation, it will return a token and it will change the "pay" button to a "tick".
So is it possible to change the button to other status such as failed after I submit a charge request on server code and it failed due to whatever reason?
Process flow:
Submit payment details -> get token -> submit charge from my server -> receive result from my server -> update the button status
via JustStarted
No comments:
Post a Comment