Integrate Zen Cart and Eway Rapid
Trexle connects Zen Cart to Eway Rapid and 100+ other payment gateways using a single plugin for one time annual fee
Eway Rapid and Zen Cart Integration Guide
All requests to eWAY’s Rapid API need to be authenticated using basic authentication. This uses the eWAY API Key and Password in the username and password fields respectively.
This authentication is sent in the HTTP header, most frameworks and libraries provide a way to set these. The eWAY SDKs accept the API key & password along with the endpoint (sandbox
or production
) when they are initialised.
Creating an eWAY Sandbox API key
1. You will need an eWAY Partner Account – if you don’t have an account, sign up for free!
2. Navigate to the Sandbox using the link below for your country
- Sandbox Australia
- Sandbox New Zealand
3. Go to My Account > API Key
4. Your Rapid API Key will be displayed in the API Key field
5. Click Generate Password to create a password for the key. A password can only be viewed once after it has been generated – if you forget it a new one can be generated by clicking Generate Password again (the old one will no longer work).
Take the credentials you just obtained from Eway Rapid and navigate to Trexle dashboard, click Payments Gateways and select Eway Rapid from the drop down menu as shown below.
Fill into your Eway Rapid credential and click Add Gateway. Click the Activate button next to Eway Rapid, and it will give you a success message and the button will turn into green. You should see something like below.
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.
INSTRUCTIONS
There are several test credit card numbers available to use. All provided test cards listed will pass a Luhn check, however all the below cards will be declined on the live gateway.
Visa – 4444333322221111
Mastercard – 5105105105105100 / 2223000048400011 / 2223520043560014
Amex – 378282246310005
Diners – 38520000023237 or 30569309025904
Q. What expiry date should be used?
A. Any valid(future) expiry date can be passed with the card.
Q. What Name should be used?
A. Any name can be used, we recommend using eWAY test to identify these as your test payments in the live gateway.
Q. If a CVN is required, what number can be used?
A. If CVN’s are required for testing the following formats should be used:
Visa/Mastercard/Diners – Any 3 digits
Amex – Any 4 digits
Q. What result will the eWAY test card (4444333322221111) receive on the live gateway?
A. On the live gateway, this card will always fail, usually with the error 58 Function Not Permitted to Terminal or 92 Unable To Route Transaction.
Eway Rapid Supported Countries
Eway Rapid 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 Eway Rapid and other +100 payment gateways with Zen Cart and other dozen of e-commerce platforms.
About Eway Rapid
eWAY's secure online payment gateway makes it easy and hassle free for you to accept credit card payments through your website. eWAY’s Rapid is the global solution to help process online payments quickly, easily and securely.
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.