Skip to content

Commit

Permalink
Adding onPaymentFailed handler to Redirect story
Browse files Browse the repository at this point in the history
  • Loading branch information
sponglord committed Aug 26, 2024
1 parent e3b0fe0 commit ee5e51f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export const RedirectResultContainer = ({ redirectResult, sessionId, countryCode
setIsRedirecting(false);
handleFinalState(result, component);
},
onPaymentFailed: (result, component) => {
setIsRedirecting(false);
handleFinalState(result, component);
},
onError: (error, component) => {
setIsRedirecting(false);
handleError(error, component);
Expand Down

0 comments on commit ee5e51f

Please sign in to comment.