Easy Digital Downloads


Integrate Easy Digital Downloads and Stripe

Trexle connects Easy Digital Downloads to Stripe and 100+ other payment gateways using a single plugin for one time annual fee

Stripe and Easy Digital Downloads 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 Easy Digital Downloads you need Trexle API keys

To install Trexle extension to your Easy Digital Downloads shop, follow these steps:

  1. Download Easy Digital Downloads Trexle extension from Trexle GitHub repository.
  2. Log to the Administrator area of your site and navigate to Plugins → Add New.

  3. From there you’ll see an option to Upload Plugin.
  4. Select the file you have previously downloaded, click Open and then Install Now.
  5. You have successfully installed Trexle extension. After installation, click the Activate Plugin button.

To ensure the integration works seamlessly, create a test product, logout from your admin session and perform a checkout as a regular customer.

After placeing an order using a test card, you should see this.

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


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

✔ 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 Easy Digital Downloads 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 Easy Digital Downloads 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 Easy Digital Downloads

Easy Digital Downloads is a powerful, free e-commerce platform, based on Wordpress CMS that allows you to sell downloadable products such as documents, ebooks, music, software etc. It powers more than 60,000 e-commerce stores, ranging from single landing pages to large online marketplaces. It has a wide variety of addons that allows merchants to customize their stores to their own needs, so they can manage the whole purchase process from beginning to end.