This solution integrates the Apple Pay payment method into Cashier or Checkout Page which is presented as an IFrame in its own page.
The integration involves inserting the
sc_applepay.min.js script on top of your website, which acts as a proxy between the IFrame Cashier and your main website page.
sc_applepay.min.js script on top of your website before the Nuvei IFrame is initiated.
<head> … <script src= "https://cdn.safecharge.com/safecharge_resources/v1/sc_applepay.min.js"></script> </head> <body> … <div> <iframe name="sc_frame" src= "https://secure.safecharge.com/ppp/purchase.do..."></iframe> </div> … </body>