OpenCart
The plugin for OpenCart provides a payment solution for
merchants using OpenCart to manage their orders. This section describes the payment
methods and services the Plugin provides.
Supported payment methods
These are the supported payment methods for OpenCart:
- Credit and debit cards
- eCheck
- Click to Pay
Supported payment services
These are the supported payment services available for OpenCart:
- Payment acceptance services
- Authorization only
- Sale (bundled authorization and capture)
- Electronic check debit (sale) foreCheckpayment method
- Order management services
- Capture an authorization (not foreCheck)
- Multiple partial captures (not foreCheck)
- Standard and partial refunds
- Standard and partial void captures (not foreCheck)
- Standard and partial void refunds
- Full authorization reversal (not foreCheck)
- :Token Management Service(TMS) for credit and debit cards payments
- Create payment token along with authorization
- Update an existing token along with authorization
- Update an existing token from My Account section
- Delete an existing token from My Account section
- Create payment token for new payment methods during checkout
- Make a payment with a stored token during checkout
- Reporting services that allow you to import theses:Business Centerreports into OpenCart
- Transaction Request Report
- Payment Batch Detail Report
- Conversion Detail Report
Release Information
This section provides information about the releases for the plugin.
Release Version | Release Date | Support End Date |
---|---|---|
Version 22.1.0 | October 25, 2022 | October 14, 2025 |
Version 23.1.0 | December 8, 2023 | December 7, 2026 |
Version 23.1.0 includes the following enhancements:
- Updated authentication signature
- Added DAV enable/disable button for admin configuration
- Updated reCAPTCHA key generation tooltip URL
- Fix for target origin issue for different domain in the flex form capture context
- Compatible with OpenCart versions 3.0.3.7 and 3.0.3.8
Version 22.1.0
- Initial release.
Installation
Before you install the plugin, make sure that these requirements are met:
- You are using OpenCart version 23.1.0
- Have created aBusiness Centeraccount and have generatedBusiness CenterREST API keys:
- To create an account, go to the Business Center Registration website.
- To generate REST API keys, see Getting Started with the REST API Developer Guide.
Follow these steps to install the plugin:
- Download the plugin from the OpenCart website to your local system.
- Open OpenCart Back Office and from the Dashboard, chooseExtensions>Installer.
- ClickUploadand browse to the file you downloaded to your local system.The pane displays the status of the installation. After the Plugin is installed, the pane indicates that the module is installed. You can close it or clickConfigureto configure the Plugin.
Configuration Overview
This section describes how to set up the plugin.
The following table shows where to access the plugin configuration settings.
From the left navigation panel in OpenCart Back Office, select
Extensions
and
follow the path indicated in the table for the configuration settings you want to
configure. Settings | Path |
---|---|
| Extensions > Extensions > Modules > Cybersource
Configuration |
Unified Checkout
| Extensions > Extensions > Payments > Cybersource Unified Checkout |
eCheck
| Extensions > Extensions > Payments > Cybersource eCheck |
Enable Basic Configuration
This section describes the required and optional basic configuration settings for the
plugin.
To enable Basic Configuration, follow these steps:
- In OpenCart Back office, navigate toExtensions>Extensions>Modules>Cybersource Configuration.
- Click theEditicon.
- In the General Configuration tab of the Edit Cybersource Configuration Module pane, from the drop down list or text box, select or enter a setting.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to enable.
Required Settings
These settings are required for using the plugin:
- Sandbox Mode
- Set toEnableto operate in Sandbox (T) mode. You can test new changes in this mode and no funds are affected.
- Set toDisableto operate in Production (Live) mode.
- Merchant ID
- Enter theBusiness CenterMerchant ID or Organization ID, which is a unique identifier for the merchant.
- Merchant Key ID
- Enter your REST Shared Secret Key generated from within theBusiness Center. This specific key authenticates and authorizes the merchant's integration with the gateway.
- Merchant Secret Key
- Enter the complimentary Secret key that is generated at the same time as the Merchant Key ID. It is used for secure communication between the merchant's online store and a payment gateway.
- reCAPTCHA Site key
- For each request, this key returns a score based on the user interactions with your site. Based on these scores, you can take appropriate actions for your site, such as allowing or blocking users.
- reCAPTCHA Secret key
- This key authorizes communication between the plugin's backend and the reCAPTCHA server to verify the user's response. The secret key should be kept safe for security purposes.
Optional Settings
These settings are optional for using the plugin.
- Fraud Management
- Set toEnableto allow merchants to identify and prevent fraudulent activities.
- Delivery Address Verification
- Set toEnableto allow merchants to verify the delivery address.
- Device Fingerprint
- Set toEnableto allow merchants to identify and track devices accessing an online store.
- Developer ID
- Identifier for the developer that helps integrate a partner solution with Cybersource. This settings is only required for Cybersource System Integrators.
- Status
- Set toEnablefor the Cybersource integration to be active and visible at checkout.
- Payment Action
- Set toEnableto enable card payments for Authorize Only or Sale (Authorization and Capture) for front office transactions.
- Enhanced Logs
- Set toEnableto generate logs that can be accessed by selectingConfigure>Advanced Parameters>Logs.
Cybersource
strongly recommends you map your Order Status responses to your preferred order
status under the Order Status Configuration section. Enable Unified Checkout
Unified Checkout
This section describes the required and optional configuration settings for
Unified Checkout
for the plugin. To enable Card Payment follow these steps:
- In OpenCart Back office, navigate toExtensions > Extensions > Payments > CybersourceUnified Checkout.
- Click theEditicon.
- In the Edit CybersourceUnified Checkoutpane, from the drop down list or text box, select or enter the setting you want.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to set.
Required Settings
The following settings are required:
Unified Checkout
for the plugin:- Payment Option Label
- Enter the text you want displayed to the customer at checkout.
- Allow Card Types
- Select the card types that you want to accept.
Optional Settings
The following settings are optional for enabling
Unified Checkout
for
the plugin:- Status
- Set toEnablefor the Cybersource integration to be active and visible at checkout.
- Sort Order
- Order in which a payment method displays at checkout.
Enable Tokenization
This section describes the required and optional configuration settings for Tokenization
for the plugin.
To enable Tokenization follow these steps:
- In OpenCart Back office, navigate toExtensions > Extensions > Payments > CybersourceUnified Checkout.
- Click theEditicon.
- In the Edit Cybersource pane, from the drop down list or text box, select or enter the setting you want.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to set.
Required Settings
The following settings are required:
- Tokenization
- Setting allows customers to save cards for future use while making a card payment.
Optional Settings
The following settings are optional for enabling Tokenization for the plugin:
- Network Token Updates
- Enable this setting to subscribe to Network Token life cycle updates.
- Limit Saved Card Rate
- With this setting enabled, a limit is set to save only a specified number of cards in the My Account section in Front Office. There are two settings:Saved Card Limit Count: Number of cards that can be saved in a certain period of time.Saved Card Limit Time Frame: Number of hours that saved card attempts are counted.
- Enforce SCA for Saving Card
- If enabled, card holders are 3DS challenged when saving a card.
Enable Fraud Management
This section describes the required and optional configuration settings for Fraud
Management for the plugin.
To enable Fraud Management follow these steps:
- In OpenCart Back office, navigate toExtensions > Extensions > Modules > Cybersource Configuration.
- Click theEditicon.
- In the General Configuration tab of the Edit Cybersource Configuration Module pane, from the drop down list or text box, select or enter the setting you want.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to enable.
Required Settings
The following settings are required:
- Fraud Management
- Device Fingerprint (not technically required, but highly recommended)
Optional Settings
The following setting is optional for enabling Fraud Management for the plugin:
- Conversion Detailed Report
- This report (enabled in the Report Configuration tab) pulls Case Management changes from Cybersource at regular intervals to ensure orders are kept updated within OpenCart.
Enable 3-D Secure (Payer Auth)
This section describes the required and optional configuration settings for 3-D Secure
(Payer Auth) for the plugin.
To enable 3-D Secure follow these steps:
- In OpenCart Back office, navigate toExtensions > Extensions > Payments > Cybersource.Unified Checkout
- Click theEditicon.
- In the Edit Cybersource pane, select from the dropdown or specify in the text box the configuration setting option you want to set.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to enable.
Required Settings
The following settings are required:
- Payer Authentication
- When this setting is enabled, an extra layer of security is added at checkout.
Optional Settings
The following setting is optional but recommended for regions enforcing 3-D Secure
for the plugin:
- Enforce SCA for Saving Card
- When this setting is enabled, card holders are 3-D Secure challenged when saving a card.
Enable eCheck
eCheck
This section describes the required and optional configuration settings for
eCheck
for
the plugin. To enable
eCheck
follow these steps: - In OpenCart Back office, navigate toExtensions > Extensions > Payments > Cybersource.eCheck
- Click theEditicon.
- In the EditeCheckpane, from the drop down list or text box, select or enter the setting you want.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to enable.
Required Settings
The following settings are required:
eCheck
for the plugin:- Status
- With this setting enabled,eCheckis active.
Optional Settings
The following setting is optional but recommended for enabling
eCheck
for the
plugin:- Sort Order
- Order in which a payment method displays at checkout.
Enable Reporting
This section describes the required and optional configuration settings for Reporting for
the plugin.
To enable Reporting follow these steps:
- In OpenCart Back office, navigate toExtensions > Extensions > Modules > Cybersource Configuration.
- Click theEditicon.
- In the Report Configuration tab of the Edit Cybersource Configuration Module pane, from the drop down list or text box, select or enter the configuration setting you want.
- Click theSaveicon.
- Repeat for each required setting and each optional setting you want to enable.
Required Settings
The following settings are required:
- Payment Batch Detail Report
- This report includes transactions that are processed with the applications. This report is available shortly after captured transactions are batched.
- When set toEnable, this report is downloaded from theBusiness Centerto OpenCart. The report is downloaded by default to different locations, depending on the mode in which OpenCart is operating:
- In Sandbox (Test) mode, the report downloads to{OpenCartModuleInstallationDirectory}/cybersourceofficial/Reports/Sandbox
- In Production (Live) mode, the report downloads to{OpenCartModuleInstallationDirectory}/cybersourceofficial/Reports/Production.
- Cybersource strongly recommends that OpenCart and theBusiness Centeroperate in the same time zone so that the Transaction Request Report and Payment Batch Detail Report work properly.
- Transaction Request Report
- This report includes details for individual transactions that are processed each day.
- When set toEnable, this report is downloaded from theBusiness Centerto OpenCart. The report is downloaded to different locations, depending on the mode in which OpenCart is operating:
- In Sandbox (Test) mode, the report downloads to{OpenCartShopModuleInstallationDirectory}/cybersourceofficial/Reports/Sandbox
- In Production (Live) mode, the report downloads to{OpenCartModuleInstallationDirectory}/cybersourceofficial/Reports/Production.
- Cybersource strongly recommends that OpenCart and theBusiness Centeroperate in the same time zone so that the Transaction Request Report and Payment Batch Detail Report work properly.
Optional Settings
The following settings are optional but recommended for enabling Reporting for the
plugin:
- Download path
- If you want to download the report to a path other than the default, specify that path here.
- Conversion Detail Report
- When set toEnable, this report pulls Case Management changes from theBusiness Centerat regular intervals to ensure orders are updated in OpenCart.
Enforcing Strong Customer Authentication
Select the Enforce Strong Customer Authentication setting to prompt a 3-D Secure
(3DS) challenge when a customer saves their credit card information. The customer is 3DS
challenged when a transaction is declined as reported by response code 478 (Strong
Customer Authentication required). After the transaction is declined, another request is
sent for the same order.
The Enforce Strong Customer Authentication setting is only
available when the Payer Authentication/3-D Secure (General Plugin setting) and
Tokenization (Fraud Management Plugin setting) are enabled. See Enable 3-D Secure (Payer Auth) and Enable Tokenization for information about enabling these
settings.
Follow these steps to enable Enforce Strong Customer Authentication:
- Open OpenCart Back Office and selectExtensions>Extensions>Payments>Cybersource.Unified Checkout
- Select theEditicon.
- From the drop down menu next to Enforce SCA for Saving Card, selectEnable.
- Click theSaveicon.
Scheduling Report Generation
Schedulers on a Linux, Mac, or Windows system are used to set up how often a specified
report is generated. Schedulers for Linux and Mac systems are set up using a Cron Tab.
The scheduler for a Windows system is set up using the Windows Task Scheduler app.
When setting up a schedule for generating a specific report, use this format:
- Format:<shop domain name>/module/cybersourceofficial/paymentReport
- Example:http://www.opencart_1.7.8.6.com/module/cybersourceofficial/paymentReport
Cron Tab Syntax for Mac and Linux Systems
When setting up the reporting schedule on a Linux or Mac system, you use
crontab
commands that determine how often and when the report
is generated. The syntax is:
* * * * * [command]
The asterisk (*) represents each of these timing parameters:
- Minute (0-59)
- Hour (0-23)
- Day of Month (1-31)
- Month (1-12)
- Day of week (0-6), (0-Sunday)
For example, these timing parameters indicate how often a specified report is
generated:
- * * * * * [command]: Runs every minute of every day of every week of every month.
- 0 * * * * [command]: Runs every hour of every day of every week of every month.
- 30 2 * * * [command]: Runs at 2:30 a.m. every day of every week of every month.
- 0 0 2 * * [command]: Runs once a month every month on the second day of the month.
- 0 * * * 1 [command]: Runs every Monday at every hour.
- 0,10,20 * * * * [command]: Runs on 0, 10, 20 minute of every hour of every day of every week of every month.
- 0 5-10 * * * *[command]: Runs every hour between 5 and 10 a.m.
- @reboot [command]: Runs every time after the server reboots.
- */5 * * * * [command]: Runs every 5 minutes of every day.
Using the Plugin
The plugin provides merchants a frictionless way to process
payments, prevent fraud, and generate
reports within the
Business Center
while making it easy for customers to place and cancel orders, and save or update stored credit or
debit card information.Testing
If you have not done so already, configure these settings using OpenCart Back
Office:
- General Settings:merchant ID, merchant key ID, and/or merchant secret key
- Payment Settings:applicable payment methods
After configuring the Plugin, complete this task to test the configuration using
OpenCart Front Office to place an order and OpenCart Back Office to manage the
order.
- Open OpenCart Front Office to place an order.
- At Checkout, enter any required personal information and select the payment method you want to use to place the order.
- Enter the card information you want to use to place the order and clickConfirm Order. If the order is successful, an order confirmation message displays.
- Open OpenCart Back Office to manage the order.
- SelectOrdersfrom the Dashboard. The Orders page displays and lists all active orders.
- Select the checkbox next to the order you processed in Step 1. Then click the View icon. The order status for the order should displayPending.
- ClickCaptureto capture the authorized amount, thenYes. The order status changes toProcessed.
- ClickPartial captureto capture part of the authorized amount. The order status changes toProcessing.
- ClickCancelto cancel the order. The order status changes toOrder Cancelled by Merchant.For more information about testing, including test cards, see testing-guide-v1.html
Upgrading
You can install a newer version of the plugin
using OpenCart Back Office.
- To uninstall Cybersource Payment, navigate toExtensions > Extension Types > Paymentsand then uninstall all of the Cybersource payment modules.
- To uninstall Cybersource Tax, under the same Extension dropdown, selectOrder Totalsand uninstall Cybersource Tax.
- To uninstall the Cybersource Payment extension, under the Extension dropdown, selectModules, and uninstall the Cybersource Payment extension.
- Navigate to the Extensions tab and clickInstaller, then clickDeleteto remove the Cybersource extension.
- Navigate back to the Extensions tab and clickModification, then clickRefresh.
- To install the new Cybersource Payment extension, follow the steps mentioned in Installation.
Troubleshooting Assistance
For help with troubleshooting, contact GlobalPartnerSolutionsCS@visa.com and provide the following information:
- Summary of the issue
- Steps needed to reproduce the issue
- Platform version
- Plugin version
- Platform Merchant ID
- Configuration screenshots
- List of themes/additional extensions installed
- Log file and any other data or screenshots related to the issue