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.


Installation

You can get started using PayNow.js via installing from NPM or by embedding the library from our CDN.

NPM

npm install @paynow-gg/paynow.js

PNPM

pnpm install @paynow-gg/paynow.js

Yarn

yarn install @paynow-gg/paynow.js

CDN

<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

Last updated

Was this helpful?