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 PrestaShop
You can download the Crypto.com Pay plugin from our GitHub Repository or PrestaShop Addon Marketplace
Download the addon zip archive.
Go to PrestaShop admin panel > Modules > Modules Manager.
Upload the addon zip archive using the Upload a Module function.
Step 3: Setup Crypto.com Pay on PrestaShop
After installing the Crypto.com Pay addon, you will see “Crypto.com Pay” in the Modules Manager page, then click Configure.
If you are testing with Test Data mode in Crypto.com Pay Merchant dashboard, please select Test in API mode. Otherwise, please select Live.
Fill in
secret keyandpublishable keyon the page using the values you obtained from Step 1, then copyWebhook Urlfrom the page.Navigate back to Crypto.com merchant dashboard, go to Integraion > Webhooks tab.
Click the Add Webhook button and then paste the
Webhook Urlcopied into Payload URL, then asignature secretfor webhook is generated.Paste this
signature secretin the Configure page of PrestaShop Crypto.com Pay addon.
Note: Please make sure to select Test in API mode if you are testing, and please make sure you input the keys and secrets correctly as they are different between Test mode and Live mode.
Step 4: Verify the flow
At this point, Crypto.com Pay is fully integrated with your PrestaShop store. 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.
Click Integration tab on Dashboard menu bar, follow Step 1 of this guide to generate a new set of
publishable keyandsecret keyvalues for Live Data mode.In the Configure page of PrestaShop Crypto.com Pay addon, select Live for API Mode, and then follow Step 3 to add a new webhook for Live Data mode, copy these keys and secrets.
Paste
secret key,publishable keyandwebhook 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.
