OpenCart
Get in touch
Sign in
OpenCart
Secure card payments for OpenCart

Solidgate offers secure card payment processing for your OpenCart store.

Follow the steps below to integrate the Solidgate and start accepting payments smoothly. Before you begin, ensure that you have:

  • Solidgate account
    Access to your account at Solidgate HUB to get your Guide
    Learn to authenticate API requests and fix validation errors effectively.
    API keys.
  • OpenCart & PHP versions
    Ensure your OpenCart version and PHP version meet the requirements for the module.
    • OpenCart 3.x / 4.x or higher
    • PHP 7.4(OC3)+ / 8.1(OC4)+

Install module

To install the module


  1. Copy module files by placing the Solidgate directory into your OpenCart installation directory:
    catalog/controller/extension/payment/solidgate.php
    catalog/model/extension/payment/solidgate.php
    catalog/view/theme/default/template/extension/payment/solidgate.twig
    catalog/language/en-gb/extension/payment/solidgate.php
    admin/controller/extension/payment/solidgate.php
    admin/view/template/extension/payment/solidgate.twig
    admin/language/en-gb/extension/payment/solidgate.php
    system/library/php-sdk-master/
  2. In OpenCart admin panel go to Back Office > Extensions > Payments.
  3. Find Solidgate.
  4. Go to Install > Edit > Enable.

Retrieve API keys

To retrieve API keys


  1. Log in to Solidgate HUB .
  2. Navigate to Developers > Channels.
  3. Find the needed channel to go to the Channel details page.
  4. Copy your Public key and Private key, then add them to the Magento configuration.
  5. Optionally, add a Guide
    Subscribe for events on your Solidgate account so your integration can automatically trigger actions
    Webhook
    URL in HUB for payment status updates. https://yourstore/solidgate/payment/notify

Configure payment gateway

To complete configuration in the OpenCart admin panel


  1. In OpenCart admin panel, go to Extensions > Payments.
  2. Find Solidgate.
  3. Click Configure and fill in the following details:
    • Public key: API public key from the Solidgate HUB api_pk
    • Secret key: API secret key from the Solidgate HUB api_sk
    • Webhook URL: For payment sync status, copy it to add to Solidgate HUB
    • Webhook public key: Webhook public key from the Solidgate HUB wh_pk
    • Webhook secret key: Webhook secret key from the Solidgate HUB wh_sk
  4. Click on Save to complete the configuration.
Also, you can configure extra processing settings in OpenCart admin panel.

Checkout flow

Steps showing how payments are completed with Solidgate in OpenCart are as follows:


  1. Customer selects Solidgate as the payment method.
  2. Store redirects the customer to the Solidgate’s secure Guide
    Create and customize a secure payment page for your customers.
    payment page.
  3. Customer enters their card details and confirms the payment.
  4. Solidgate processes the transaction and redirects them back to:
    • Success - OpenCart order success page
    • Failure - OpenCart error message
For testing, you can use sandbox keys, which allow you to simulate payments without any real charges.


Looking for help? Contact us
Stay informed with Changelog