Skip to content

Commit

Permalink
Pull request #229: Fixed redirection after force sync
Browse files Browse the repository at this point in the history
Merge in EXC/orca-elements from fix/redirect-trustpay to master

* commit 'ae0868201f45158b2e2864ec397bce8f8dd2203e':
  Fixed redirection after force sync
  • Loading branch information
ArushKapoorJuspay authored and prafulkoppalkar committed Sep 14, 2023
2 parents 76a7859 + ae08682 commit a898e90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Utilities/PaymentHelpers.res
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ let intentCall = (
~errortype="confirm_payment_failed",
~message="Payment failed. Try again!",
)
if uri->Js.String2.includes("force_sync=true") {
openUrl(url.href)
}
}
} else if intent.status == "processing" {
if intent.nextAction.type_ == "third_party_sdk_session_token" {
Expand Down

0 comments on commit a898e90

Please sign in to comment.