PayNow

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.js

PNPM

Bash
pnpm install @paynow-gg/paynow.js

Yarn

Bash
yarn install @paynow-gg/paynow.js

CDN

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