in the javascript code, when apply pay success, I try to redirect user to another web to show the success info of the trade.
session.completePayment(JSON.parse(ApplePaySession.STATUS_SUCCESS));
window.location.href = /ok.html
But I try many ways(e.g. like above) to do so, it still fails.
any comment or solution .please.
thanks
session.completePayment(JSON.parse(ApplePaySession.STATUS_SUCCESS));
window.location.href = /ok.html
But I try many ways(e.g. like above) to do so, it still fails.
any comment or solution .please.
thanks