Integrate Ubercart and Stripe
Trexle connects Ubercart to Stripe and 100+ other payment gateways using a single plugin for one time annual fee
Stripe and Ubercart 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 install Trexle extension to your Ubercart, follow these steps:
- Download Ubercart extension from Trexle Github repository
- Ensure that you’ve properly installed Ubercart on your site before installing the Trexle extension for Ubercart. The Trexle extension cannot work without Ubercart.
- On your Drupal site Dashboard, click on Module menu and click Install New Module on the menu Modules page.
- Upload the Trexle Ubercart Extension you downloaded to your site and click Install.
You have successfully installed Trexle extension to your Ubercart.
To ensure the integration works seamlessly, create a test product, logout from your admin session and perform a checkout as a regular customer.
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
Stripe Supported Countries
Stripe Supported Payment Processing Actions
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✔ Card Store
Key Features
About Trexle
Trexle is a powerful online recurring subscription billing platform that integrate Stripe and other +100 payment gateways with Ubercart 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 Ubercart
Ubercart is an open source E-Commerce platform for online merchants, fully integrated with Drupal CMS. It implements all the features that business owners might need to start selling their products online. Ubercart leverages the advantages of Drupal’s major core and contributed systems, providing the merchants and their clients users seamless shopping cart functionality