Zen Cart

plus-sign-simple

Integrate Zen Cart and Stripe

Trexle connects Zen Cart to Stripe and 100+ other payment gateways using a single plugin for one time annual fee

Stripe and Zen Cart Integration Guide

To integrate Stripe with Trexle, you will need your Stripe standard API Publishable and Secret keys. You can obtain those as follows..

Login to your Stripe dashboard, and find the “Developers” link on the left menu, click it and it will give you the “API keys” sub menu as seen below.

For security reasons, Stripe asks you to click “reveal private key token” which will ask you for your Stripe username and password again.

After providing your username and password, click the “Authenticate” button in blue and your live API secret key will be revealed. Make a note of the two API keys as you will need to add them to Trexle dashboard.

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

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

To integrate Stripe and Zen Cart you need Trexle API keys

Download the Trexle Zen Card module from our github repository, and upload the contents of the files directory to your suitable Zen Cart installation version (supported versions are 1.5.0 to 1.5.5). From your admin panel, browse into Modules/Payments as show on the screen below.

Click on Trexle Payments, then click install

 

Configure Trexle Payments with your API secret key, modify the other settings per your needs.

Then create a test product, logout from admin, and test the normal customer checkout experience.

4242424242424242 Visa
4012888888881881 Visa
4000056655665556 Visa (debit)
5555555555554444 Mastercard
5200828282828210 Mastercard (debit)
5105105105105100 Mastercard (prepaid)
378282246310005 American Express
371449635398431 American Express
6011111111111117 Discover
6011000990139424 Discover
30569309025904 Diners Club
38520000023237 Diners Club
3530111333300000 JCB
3566002020360505 JCB

3D Secure test card numbers

4000000000003055
4000000000003063
378282246310005

Testing for specific responses and error

4000000000000077 Charge succeeds and funds will be added directly to your available balance (bypassing your pending balance).
4000000000000093 Charge succeeds and domestic pricing is used (other test cards use international pricing). This card is only significant in countries with split pricing.
4000000000000010 The address_line1_check and address_zip_check verifications fail. If your account is blocking payments that fail ZIP code validation, the charge is declined.
4000000000000028 Charge succeeds but the address_line1_check verification fails.
4000000000000036 The address_zip_check verification fails. If your account is blocking payments that fail ZIP code validation, the charge is declined.
4000000000000044 Charge succeeds but the address_zip_check and address_line1_check verifications are both unavailable.
4000000000000101 If a CVC number is provided, the cvc_check fails. If your account is blocking payments that fail CVC code validation, the charge is declined.
4000000000000341 Attaching this card to a Customer object succeeds, but attempts to charge the customer fail.
4000000000009235 Charge succeeds with a risk_level of elevated and placed into review.
4000000000000002 Charge is declined with a card_declined code.
4100000000000019 Charge is declined with a card_declined code and a fraudulent reason.
4000000000000127 Charge is declined with an incorrect_cvc code.
4000000000000069 Charge is declined with an expired_card code.
4000000000000119 Charge is declined with a processing_error code.
4242424242424241 Charge is declined with an incorrect_number code as the card number fails the Luhn check.

378282246310005 American Express
371449635398431 American Express
6011111111111117 Discover
3530111333300000 JCB
6304000000000000 Maestro
5555555555554444 Mastercard
2223000048400011 Mastercard
4111111111111111 Visa
4005519200000004 Visa
4009348888881881 Visa
4012000033330026 Visa
4012000077777777 Visa
4012888888881881 Visa
4217651111111119 Visa
4500600000000061 Visa
4000111111111115 Visa processor declined
5105105105105100 Mastercard processor declined
378734493671000 American Express processor declined
6011000990139424 Discover processor declined
3566002020360505 JCB failed (3000)

370000000000002 American Express Test Card
6011000000000012 Discover Test Card
5424000000000015 MasterCard Test Card
4007000000027 Visa Test Card
4012888818888 Visa Test Card
4222222222222 Visa Error Test

Other integrations between Stripe and Zen-cart

Zen Cart Stripe Payments Community Module


This module is designed to allow Zen Cart store owners to integrate with Stripe for their payments.

The extension is provided by Jay Williams, a Zencart Community developer and is Free

Stripe Payment Gateway For Zen Cart


This plugin allows you to accept payments in Zen Cart via Stripe.com, the easiest way to accept credit cards online. The plugin can also store customer and card information in your Stripe account, allowing your customers to utilize their stored card information for future purchases in your store.

The extension is provided by CodeCanyon and is $20

Stripe Supported Countries

Stripe 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 Zen Cart site to 100+ payment gateway

About Trexle

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

About Stripe

Stripe is an American technology company, operating in over 25 countries, that allows both private individuals and businesses to accept payments over the Internet. Stripe focuses on providing the technical, fraud prevention, and banking infrastructure required to operate online payment systems.

About Zen Cart

Zen Cart is an online store management system. It is PHP-based, using a MySQL database and HTML components. Support is provided for numerous languages and currencies, and it is freely available under the GNU General Public License.

Cart