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.
Navigate to the Collections panel and select your project.
Click the How to use NFTpay tab:
The How To Use NFTpay tab
Scroll down to the Options area:
The Options area
You should select only one option.
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:
You can style the Buy with card button using CSS in your own site. However, the pay form cannot be restyled.
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.
You can style the iframe using CSS in your own site. However, the contents of the iframe cannot be restyled.