Integrate OpenCart and Cardstream

Trexle connects OpenCart to Cardstream and 100+ other payment gateways using a single plugin for one time annual fee

Cardstream and OpenCart Integration Guide

You will need the following information to integrate with the Payment Gateway using the Direct integration method; Cardstream Merchant ID. Your Merchant ID enables you to access and communicate with the Payment Gateway. Please note that these details will differ to the login supplied to access the administration panel. You should have received these details when your account was set up.
You may also use test Merchant IDs (if you have been issued with a test ID) and swap these for your live account details when you receive them.
Integration URL
New Merchants who have not yet received their live Merchant ID can still perform an integration for testing purposes. Simply enter one of the test Merchant IDs below and use the test cards provided  to run a test transaction.

For non 3-D Secure testing use Merchant ID 100001
For 3-D Secure Testing use Merchant ID 100856

Please note that the field names are cAsE sEnSiTiVe.

Take the credentials you just obtained from Cardstream and navigate to Trexle dashboard, click Payments Gateways and select Cardstream from the drop down menu as shown below.

Fill into your Cardstream credential and click Add Gateway. Click the Activate button next to Cardstream, and it will give you a success message and the button will turn into green. You should see something like below.

To integrate Cardstream and OpenCart you need Trexle API keys

Trexle extension can be installed to your OpenCart store in two ways:

1st method

Download Trexle – OpenCart extension from Trexle GitHub repository

Go to your OpenCart admin panel, navigate to Extensions -> Extension Installer.
Then click the blue Upload button and provide the route to the Trexle extension you’ve just downloaded.


Click the blue Continue button. If successful, you should get a green “Success: You have installed your extension!” message.

2nd method

Go to your OpenCart Admin panel and then open the Extensions menu. You will see OpenCart Marketplace


Enter ‘Trexle’ in the search field and click on the Trexle extension displayed in the search results.

Click on the ‘Download’ tab and then on the ‘Install’ button.

Wait for the progress bar to notify you of the successful installation of the Trexle extension.

Finally, create a test product, logout from your admin session and test the customer checkout.

Visa Debit
Card Number CVV Number Address
4539791001730106 CVV 289
Unit 5
Pickwick Walk
120 Uxbridge Road
Hatch End
4462000000000003 CVV 672
Mews 57
Ladybird Drive
Denmark 65890


MasterCard Credit
Card Number CVV Number Address
5301250070000191 419
25 The Larches
LE10 2RT
5413339000001000 304
Pear Tree Cottage
The Green
Milton Keynes
MK11 7UY
5434849999999951 470
34a Rubbery Close
Cloisters Run
CV21 8JT
5434849999999993 557
4-7 The Hay Market
NG32 4HG

MasterCard Debit
Card Number CVV Number Address
5573 4712 3456 7898 159
Merevale Avenue
LE10 2BU
UK Maestro
Card Number CVV Number Address
6759 0150 5012 3445 002 309
The Parkway
5258 Larches Approach
North Humberside
HU10 5OP
6759 0168 0000 0120 097 701
The Manor
Wolvey Road


Card Number CVV Number Address
3540599999991047 209
2 Middle Wallop
Card Number CVV Number Address
4917480000000008 009
5-6 Ross Avenue
B67 8UJ


American Express
Card Number CVV Number Address
374245455400001 4887
The Hunts Way
SO18 1GW
Diners Club
Card Number

Cardstream Supported Countries

Cardstream Supported Payment Processing Actions

✔ Purchase
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✖ Card Store

Key Features

Credit Card Vault: securely store your customers sensitive credit card data using tokens.
Instant PCI-DSS Compliance: your customers credit card data never touches your site or server.
Multiple Gateway Support: Connect your OpenCart site to 100+ payment gateway

About Trexle

Trexle is a powerful online recurring subscription billing platform that integrate Cardstream and other +100 payment gateways with OpenCart and other dozen of e-commerce platforms.

About Cardstream

Cardstream has developed a modern payment gateway technology and management platform which has the capability to be fully white labeled. With a fully branded payment gateway, their resellers are able to offer their own in-house payment gateway solution to their own merchants. They already have many white label resellers, including Acquirers, Payment Facilitators, Independent Sales Organisations, and Software Vendors who use our state of the art technology to deliver a reliable, easy to use and secure card processing solution.

About OpenCart

OpenCart is one of the most popular and reliable open source e-commerce platforms for online shops. It is known for an extensive number of features and user-friendly interface and is very convenient solution for shop owners who are lunching their online business for the first time.