Virtual checkout JS library
Australian web virtual checkout
Give your shoppers the option to Login to your website using Zip and pay seamlessly.
The script can be added anywhere in the body or head and can be loaded asynchronously. If loaded asynchronously, be sure to wait for its load to complete before invoking any operations against the library.
Sandbox:
<script src="https://zip.co/static/lib/js/checkouts-zip-sdk-checkout-vcn-js-sand/zip-vcn-checkout.js"></script>
Production:
<script src="https://zip.co/static/lib/js/checkouts-zip-sdk-checkout-vcn-js-prod/zip-vcn-checkout.js"></script>
Load the Zip login
Next you will need to load the Zip login directly using the virtual checkout API or using the default Zip button, then handle the response.
Updated almost 2 years ago