@zaver/checkout
v1.0.7
Published
Loader script for Zaver Checkout
Downloads
166
Readme
Zaver Checkout
This package is provided by Zaver / Frink AB as way of integrating the Zaver Web Checkout into your e-commerce checkout.
Quickstart
Create a payment request through Zaver Checkout API (see documentation https://api-docs.zaver.se/) and use the returned token
to load the embedded checkout into your page.
<script
src="https://iframe-checkout.test.zaver.com/loader/loader-v1.js"
id="zco-loader"
zco-token="emNvdG9rOWNhOTU2YmQtYWYyNS00NjBkLWE0YjMtY2QyZmUzMGJmNTlk="
>
</script>
Additionally, the primary and secondary colors of the Zaver component can be adjusted to fit with layout:
<script
src="https://iframe-checkout.test.zaver.com/loader/loader-v1.js"
id="zco-loader"
zco-token="emNvdG9rOWNhOTU2YmQtYWYyNS00NjBkLWE0YjMtY2QyZmUzMGJmNTlk="
zco-primary-color="#7d449e"
zco-secondary-color="#ac70cf"
>
</script>