- 18 Dec 2023
- 1 Minute to read
- Print
- DarkLight
Integrating with Direct Checkout
- Updated on 18 Dec 2023
- 1 Minute to read
- Print
- DarkLight
To use Direct Checkout, you must build a payment page which embeds the JavaScript library and payment components, and initialise the library.
JavaScript library
The JavaScript library contains the code for Direct Checkout, which will activate the components on the payment page that provide the required payment functionality.
Include the following JavaScript library in the <head> of the payment page. The payment page must serve the JavaScript from the Access PaySuite domain and cannot be self-hosted.
Sandbox | https://secure.test.pay360evolve.com/direct-checkout/js/v3 |
Production | https://secure.pay360evolve.com/direct-checkout/js/v3 |
The <head> of the payment page should look like this Sandbox example:
<head>
…
<script src="https://secure.test.pay360evolve.com/direct-checkout/js/v3"></script>
…
</head>