Native JS Checkout Elements is the sibling to Checkout Elements, but is framework agnostic.
To start using the Checkout Elements for your checkout flow, make sure you have registered a smart contract. Then, install the SDK using your favorite package manager.
npm install @paperxyz/js-client-sdk pnpm add @paperxyz/js-client-sdk yarn add @paperxyz/js-client-sdk
Once the SDK is installed, you can use any of the functions in your code
You can also set your own user-facing error messages using
Updated 17 days ago