OpenCart Setup Guide

Accept Cryptocurrencies in OpenCart at low cost!

Support Specialist avatar
Written by Support Specialist
Updated over a week ago

Step 1: Register Pay Account

  1. Sign up for a Pay account, if you don't already have one.

  2. Once you have access to the 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.

  3. Navigate to Integration > Webhooks tab. Click the Add Webhook button and then input https://<your-store-url>/index.php?route=extension/payment/crypto/callback as the Payload URL, then a signature secret for webhook is generated.

Step 2: Install the extension on OpenCart

  1. Download the Pay extension from the OpenCart Marketplace. If you use OpenCart Cloud, you may also search for the extension in the marketplace and install it.

  2. In to admin panel, click Extensions > Installer, then you can upload the extension zip file in the installer page.

  3. Proceed to Extensions > Extensions and select Payments under Choose the extension type dropdown box. Then, click the Install button to install Pay.

Step 3: Setup Pay on OpenCart

  1. After installing the Pay extension in the Extensions page, you can click Edit button to configure it.

  2. If you are testing with Test Data mode in Pay Merchant dashboard, please select Test under the Environment dropdown box. Otherwise, please select Live.

  3. After that, please fill in secret key, publishable key and webhook signature secret on the page using the values you obtained from Step 1.

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, Pay is fully integrated with your OpenCart 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 Pay Merchant Dashboard. By following Step 1 in Test Data mode, you will be able to obtain another set of secret key, publishable key and webhook signature secret.

After that, please navigate to the OpenCart admin panel, follow Step 3 to input the settings and select Live under Environment. Now you are able to test your store without carrying out an actual transaction.

Refer here for how to complete a test payment.

When Pay approves the payment, the checkout window will indicate that the payment has been approved and your order status will also be updated.

Did this answer your question?