PrestaShop
Get in touch
Sign in
PrestaShop
Secure payment management for PrestaShop

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 your account at Solidgate HUB to get your Guide
Learn to authenticate API requests and fix validation errors effectively.
API keys.


Install module

To install the module


  1. Upload the following files from the provided archive and drop solidgate/module to the /modules/solidgate/ directory in your project root.
  2. In PrestaShop admin panel go to Back OfficeModules.
  3. Find Solidgate Payment.
  4. Go to InstallEnable.

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 PrestaShop 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 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 and solutions encountered during the Solidgate integration with PrestaShop, ensuring smooth payment processing and API integration.

Hook with the name actionOrderStatusUpdate has been registered by Solidgate, but the corresponding method hookActionOrderStatusUpdate has not been defined.

Recommendations

Removed unused hook actionOrderStatusUpdate from the HOOKS constant.

Fields in the admin panel were not saving.

Recommendations

Analyzed the liqpaypayments module, reworked the saving mechanism using HelperForm .

Recommendations
  • Set up redirection to the standard order confirmation page.
  • Added paymentReturn hook to display information on the standard page.
  • For failed payments, users are redirected to the order history page.

SmartyException: Unable to load template iframe.tpl

Recommendations

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

Authentication failed.

Recommendations

Fixed HMAC-SHA512 signature generation, removed unnecessary true parameter.


Looking for help? Contact us
Stay informed with Changelog