[
{
"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"
}
]
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
Upload the files from the provided archive and add
solidgate/module
to the
/modules/solidgate/
directory in your project root.
In PrestaShop admin panel, go to Back Office > Modules.
Click on the needed channel to go to the Channel details page.
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
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
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 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.