Apple Pay leading to another page

Viewed 12

hello i have this issue with apple pay, when i choose to pay with apple pay and complete the payment i get directed to this page: https://i.stack.imgur.com/WfKKj.jpg how do i get rid of this page and make it so when i choose to pay with apple pay i immediatley get the apple pay payment form like this? https://i.stack.imgur.com/GvGKs.png

used payment gateway :Hyperpay code:

{

supportedNetworks: \["masterCard", "visa", "mada"\],
supportedCountries: \["SA"\]
}
code screenshot: https://prnt.sc/J9qkU-W_-M0E

But still not working, only Apple button showing
but when clicking on it ,it not working.

Issue seems with below function:

wpwlOptions.createCheckout = function() {
alert(checkoutId);
return checkoutId;
};

I added 'alert(checkoutId);' , but it not showing.
Seems like it not calling by apple button or 'paymentWidgets.js' script file"

"I have added currencyCode:["SAR"] in code and generated new checkout id
But still same issue"
0 Answers
Related