Implement client-side SDK integration
Guide to integrating the Zuora JavaScript client library for Apple Pay on your website.
Load zuora.js
Import the Zuora JavaScript client library to your page.
For sandbox environments, use <script src="https://js.zuora.com/payment/sandbox/1.4.0/zuora.js"></script>.
For production environments, use <script src="https://js.zuora.com/payment/1.4.0/zuora.js"></script>.
Create a container
Create a container for the Apple Pay button on your page and place it where you want the button to be rendered. Replace payment-form-container with the ID you want to use.
1
<div id="payment-form-container">
2
<!-- The Apple Pay button will be inserted here. -->
3
</div>