Skip to content

Commit

Permalink
Return when order ID is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchung committed Apr 24, 2020
1 parent e8aa4d3 commit 9077d05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useWyreApplePay.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export default function useWyreApplePay() {
});
paymentResponse.complete('fail');
handlePaymentCallback();
return;
}

setOrderCurrency(destCurrency);
Expand Down

0 comments on commit 9077d05

Please sign in to comment.