Skip to content

Commit

Permalink
fix: allow customer to pay with different payment method on cancel of…
Browse files Browse the repository at this point in the history
… klarna sdk
  • Loading branch information
vsrivatsa-juspay committed May 30, 2024
1 parent 52b02a5 commit 91cbedb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Payments/KlarnaSDK.res
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ let make = (~sessionObj: SessionsType.token) => {

let handleCloseLoader = () => {
Utils.handlePostMessage([("fullscreen", false->JSON.Encode.bool)])
Utils.postFailedSubmitResponse(
~errortype="confirm_payment_failed",
~message="An unknown error has occurred",
)
}

let submitCallback = (ev: Window.event) => {
Expand Down

0 comments on commit 91cbedb

Please sign in to comment.