Adding NFTpay to your site

How to add NFTpay to your site

NFTpay provides two ways to integrate with your website:

  • A script that you can add to any webpage

  • An iframe that you can embed in any webpage

Make sure you've added your project and it's in Ready to Use status before trying to integrate with your site.

Adding the script or iframe to your site

Sign in to the Sandbox environment Partner Portal or Live environment Partner Portal.

Navigate to the Collections panel and select your project.

Click the How to use NFTpay tab:

Scroll down to the Options area:

You should select only one option.

Option 1 - embeddable script

Option 1 is an Embeddable credit card form code. You can add it to any webpage on your site, which must use the https protocol. This option does not always work well with no-code website builder platforms. If you are using a no-code website builder platform and are unable to load the form after integration, please use Option 2 below.

The user will be presented with a Buy with card button which loads the pay form:

Styling the Buy With Card button

You can style the Buy with card button using CSS in your own site. However, the pay form cannot be restyled.

Option 2 - embeddable iframe

Option 2 is an iframe implementation of the NFTpay payment form. You can add it to any webpage on your site, which must use the https protocol. The iframe should be universally suitable for all no-code website builder platforms.

Styling the iframe

You can style the iframe using CSS in your own site. However, the contents of the iframe cannot be restyled.

Last updated