PrestaShop
Get in touch
Sign in
PrestaShop
Set up secure and reliable payment processing for your PrestaShop store

Solidgate offers secure card payment processing for your PrestaShop store. Follow the steps below to integrate the Solidgate Payment module and start accepting payments smoothly.

Before you begin, ensure that you have access to the Solidgate HUB account to get Guide
Learn to authenticate API requests and fix validation errors effectively.
API keys.


Install module

To install the module


  1. Upload the files from the provided archive and add solidgate/module to the /modules/solidgate/ directory in your project root.
  2. In PrestaShop admin panel, go to Back Office > Modules.
  3. Find Solidgate Payment.
  4. Proceed with Install.
  5. Click on Enable.

Get API keys

To get API keys


  1. Log in to the Solidgate HUB account.
  2. Navigate to Developers > Channels.
  3. Click on the needed channel to go to the Channel details page.
  4. For the PrestaShop configuration page, find the following credentials:
    • Public key - API public key from the Solidgate HUB api_pk
    • Secret key - API secret key from the Solidgate HUB api_sk
  5. Optionally, on the Channel details page, add a Guide
    Subscribe for events on your Solidgate account so your integration can automatically trigger actions
    Webhook
    URL for payment status updates.
    https://yourstore/solidgate/payment/notify

Configure payment gateway

To complete configuration in the PrestaShop admin panel


  1. In PrestaShop admin panel, go to Back Office > Modules.
  2. Find Solidgate Payment.
  3. Go to Configure and fill in the following details:
    • Public API key: API public key from the Solidgate HUB api_pk
    • Secret API key: API secret key from the Solidgate HUB api_sk
    • Webhook public key: Webhook public key from the Solidgate HUB wh_pk
    • Webhook secret key: Webhook secret key from the Solidgate HUB wh_sk
    • Webhook URL: URL for webhook notifications
    • Enable logging: Enable logging for payment events
    • Success/Failure URL: URL to redirect after payment success or failure
  4. Click on Save to complete the configuration.

Handle errors

These are common issues encountered during the integration with PrestaShop and recommendations to resolve them.

The hook with the actionOrderStatusUpdate name is registered by Solidgate, but the corresponding method hookActionOrderStatusUpdate is not defined.

Recommendations

Remove unused hook actionOrderStatusUpdate from the HOOKS constant.

Fields in the admin panel are not saving.

Recommendations

Analyze the liqpaypayments module, rework the saving mechanism using HelperForm .

Ensure positive customer experience by handling redirects.

Recommendations

Set up redirection to the standard order confirmation page. Add paymentReturn hook to display information on the standard page. For failed payments, redirect customers to the order history page.

SmartyException: Unable to load template iframe.tpl

Recommendations

Change the template loading method from $this->context->smarty->fetch() to $this->display(FILE, …)

Authentication failed.

Recommendations

Try fixing the HMAC-SHA512 signature generation by removing the unnecessary true parameter.


Looking for help? Contact us
Stay informed with Changelog