OpenCart
Connect Peach Payments to your OpenCart store.
Peach Payments offers a payment extension for OpenCart which allows you to accept online payments using all the payment methods offered by Checkout.
Overview
Item | Description |
---|---|
Payment methods and recurring payments | The OpenCart payment extension supports once-off payments, but not the following: - Recurring payments. - One-click payments using stored cards. |
Refunds | Does not support full or partial refunds. Use the platform's offline refund feature to log the refund, and then either manually refund your customer or do so using the Peach Payments Dashboard. |
Currencies | All currencies configured for your account. |
Pricing | See the Peach Payments website. |
Account activation | Requires review by Peach Payments South Africa. Contact support for assistance. |
Register account
To connect Peach Payments to your OpenCart store, you must have a Peach Payments account.
Download the Peach Payments extension
-
Go to the OpenCart Extension Store. This page lists the OpenCart versions that the extension is compatible with.
-
Click DOWNLOAD in the upper right of the screen.
-
Log in using your username and password and if requested, enter the PIN that you received, then click Continue.
-
Download the Peach Payments OpenCart file.
-
Extract the downloaded ZIP file.
Install the extension
-
Go to your OpenCart Administration Panel and log in.
-
In the left navigation menu, click Extensions > Installer, then click Upload. For OpenCart 2, go to Extensions > Extension Installer.
-
In the folder that you extracted, go to
..\plugin-opencart-a1l-master 2\plugin-opencart-a1l-master\zip
, select the ZIP file for the version of OpenCart that you're running, and click Open. For OpenCart 2, click Continue. This installs the extension. -
Go to Extensions > Modifications and click Clear then Refresh in the upper right of the screen. This flushes and rebuilds the modification cache.
Configure the extension for testing
-
In your OpenCart Administration Panel, go to Extensions > Extensions and select Payments from the Filter drop-down.
-
Scroll down to Peach Payments and click Edit.
-
Select the General tab and enter the sandbox checkout channel (sometimes called the
Entity ID
) and sandbox secret token that you received from [email protected] into the relevant fields. -
Send the callback URL from Checkout > Webhooks > Callback url to support to configure the webhook for you.
-
Enter the merchant ID prefix into the relevant field. This prepends the merchant ID prefix to the order ID. For example, if you set the merchant ID prefix to
test-shop
, when a customer places an order on the store, if the order ID is1234
,test-shop-1234
appears on the customer's statement or in the merchant order ID column in the Peach Payments Dashboard. -
Select Yes for Sandbox Mode.
-
Depending on the currency that you have configured with Peach Payments, select the appropriate Peach Payments Currency.
-
If you use more than one payment gateway, set the order in which the payment gateways should appear on checkout in the Sort Order field.
-
Go to the Order status tab, ensure that your order status mappings are correct, and then click Save in the upper right of the screen.
-
Execute test purchases to check the integration.
Go live
To go live, request a live Checkout channel and secret token from [email protected]. When you've received those credentials complete the following steps:
In your OpenCart Administration Panel, go to Extensions > Extensions and select Payments from the Filter drop-down.
- Scroll down to Peach Payments and click Edit.
- Select the General tab and enter the live checkout channel and live secret token that you received from [email protected] into the relevant fields.
- Change Sandbox Mode to No and then click Save in the upper right of the screen.
Execute live purchases to check the integration.
Audit logs (API traces)
The OpenCart extension includes an extensive auditing framework which provides a web tool to view all API interactions between your website and the Peach Payment APIs. Find the traces as follows:
- In your OpenCart Administration Panel, go to Extensions > Extensions and select Payments from the Filter drop-down.
- Scroll down to Peach Payments and click Edit.
- Go to the Traces tab.
A full list of the traces appears with the option to view the detailed information related to each trace.
FAQ
How do I show a Mobicred instalment calculator on my store? Follow their documentation.
Updated 3 months ago