Step 1: Register Crypto.com Pay Account
Sign up for a Crypto.com Pay account, if you don't already have one.
Once you have access to the Crypto.com Pay Merchant Dashboard, You will be able to generate a
secret key and
publishable key pair.
The API keys can be found inside the Developers > API Keys tab.
After that, please navigate to Developers > Webhooks tab. Click the Add Webhook button and then input
https://<your-store-url>/Plugins/Crypto/Webhook as the Payload URL, then a signature secret for webhook is generated.
Step 2: Install the plugin on NopCommerce
You can download the Crypto.com Pay plugin in NopCommerce Marketplace.
Step 3: Setup Crypto.com Pay on NopCommerce
After installing the Crypto.com Pay plugin, you can click Configuration > Payment methods on the navigation menu of the admin panel.
You will be able to see “Crypto” on the list, click Configure.
If you are testing with Test Data mode in Crypto.com Pay Merchant dashboard, please check Use Sandbox in Configure Page. Otherwise, please leave Use Sandbox unchecked.
After that, please fill in
publishable key and
webhook signature secret on the page using the values you obtained from Step 1.
Step 4: Verify the flow
At this point, Crypto.com Pay is fully integrated with your NopCommerce store. But it is recommended to try the payment flow at least once.
For the convenience of testing, you may enable Test Data mode in Crypto.com Pay Merchant Dashboard. By following Step 1 in Test Data mode, you will be able to obtain another set of
publishable key and
webhook signature secret.
After that, please navigate to the NopCommerce admin panel, follow Step 3 to input the settings and uncheck the Use Sandbox option. Now you are able to test your store without carrying out an actual transaction.
Step 5: Configure Account for LIVE transactions
Once the payment flow is thoroughly tested, you could enable LIVE transactions by following the below:
- Log in to the Crypto.com merchant account
- Make sure the Test Data button at menu bar is switched off.
- Click Developers tab on Dashboard menu bar, follow Step 1 at the top of this guide to generate a new set of
secret keyvalues for Live Data mode. Add then add a new webhook for Live Data mode, copy these keys and secrets.
- Navigate back to your NopCommerce admin panel. Click Configuration > Payment methods. Click Configure button for the “Crypto” payment option.
- Uncheck Use Sandbox and fill in
webhook signature secreton the page using the values you obtained for Live Data mode.
Congratulations, you could now accept cryptocurrency payments in Live Data mode.