About PayNow.js
PayNow.js is an embeddable library that allows you to accept payments on your own website without redirecting to the PayNow checkout.
Try it live in the PayNow.js demo, or browse the source on GitHub.
Installation
You can get started using PayNow.js via installing from NPM or by embedding the library from our CDN.
NPM
Bash
npm install @paynow-gg/paynow.jsPNPM
Bash
pnpm install @paynow-gg/paynow.jsYarn
Bash
yarn install @paynow-gg/paynow.jsCDN
HTML
<script src="https://cdn.paynow.gg/paynow-js/bundle.js" defer></script>If you are importing from the CDN, the PayNow object will become available in the window. This will allow you to access PayNow.js