[
{
"title":"Testing",
"link":"https://docs.solidgate.com/payments/testing/",
"text":"Simulate payments to test your integration before launching in production.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-customizable.svg"
}
,
{
"title":"Create your payment form",
"link":"https://docs.solidgate.com/payments/integrate/payment-form/create-your-payment-form/",
"text":"Understand how to integrate the payment form into your product.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-payments.svg"
}
,
{
"title":"Billing",
"link":"https://docs.solidgate.com/billing/",
"text":"Smart billing solutions designed for diverse business models.",
"imgSrc":"https://solidgate.com/wp-content/uploads/2022/06/icon-global.svg"
}
]
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
Upload the following files from the provided archive and drop
solidgate/module
to the
/modules/solidgate/
directory in your project root.
In PrestaShop admin panel go to Back Office → Modules.
Find the needed channel to go to the Channel details page.
Copy your Public key and Private key, then add them to the PrestaShop configuration.
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
In PrestaShop admin panel, go to Back Office > Modules.
Find Solidgate Payment.
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
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, …)