Step 1: Register Crypto.com Pay Account
Sign up for a Crypto.com Pay account, if you don't already have one.
Navigate to the “Activation” tab on your dashboard and, complete the KYC requirements.
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 Integration > API Keys tab.
Step 2: Install the plugin on WordPress
After you have WordPress and WooCommerce installed, download and install the plugin via your WordPress admin panel.
You can do this by going to Plugins > Add New then search for “Crypto.com Pay Checkout for WooCommerce” and then click Install Now.
Then you can Activate the plugin on the Plugins page.
Step 3: Enable payment method on WooCommerce
In the WordPress admin panel, go to WooCommerce > Settings > Payments, click Enable and then Manage next to the Crypto.com Pay plugin.
If you are testing with Test Data mode in the Crypto.com Pay Merchant dashboard, please select Test in Environment. Otherwise, please select Production.
Fill in the
publishable keyon the page using the values you obtained from Step 1, then copy
Webhook Urlfrom the page.
Navigate back to Crypto.com merchant dashboard, go to Integration > Webhooks tab.
Click the Add Webhook button and then paste the
Webhook Urlcopied into Payload URL, then a
signature secretfor webhook is generated.
signature secretback to the Manage page of the WooCommerce Crypto.com Pay plugin.
Note: Please make sure to choose the correct Environment in the form, based on whether you are testing or not, and please make sure you input the keys and secrets correctly as they are different between testing mode and live mode.
Step 4: Verify the flow
At this point, Crypto.com Pay is fully integrated with your WooCommerce. But it is recommended to try the payment flow at least once.
Refer here for how to complete a test payment.
When Crypto.com Pay approves the payment, the checkout window will indicate that the payment has been approved and your order status will also be updated.
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 the menu bar is switched off so that you are in Live Data mode.
Click the Integration tab on the Dashboard menu bar, follow Step 1 at the top of this guide to generate a new set of
secret keyvalues for Live Data mode.
Follow Step 3 to add a new webhook for Live Data mode, copy the webhook signature secret generated.
Navigate back to your WordPress admin panel, then go to WooCommerce > Settings > Payments.
Select Production for Environment, paste the
webhook signature secreton the Configure page using the values you obtained for Live Data mode.
Congratulations, you could now accept cryptocurrency payments in Live Data mode.