Integrate X-Cart and Eway Rapid
Trexle connects X-Cart to Eway Rapid and 100+ other payment gateways using a single plugin for one time annual fee
Eway Rapid and X-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.
How to install Trexle extension to X-Cart store
1. Download Trexle X-Cart extension from Trexle Github repository
2. Log in to your X-Cart admin panel and click on the ‘Modules’ link in the left menu
3. Click on the ‘Upload addon’ button and browse to the location of the Trexle X-Card extension you previously downloaded.
4. After the installation has been successful, you will find Trexle extension in the List of recently installed modules
5. Check the ‘Enable’ checkbox under the extension.
Your Trexle extension has now been installed.
To ensure the integration works seamlessly, create a test product, logout from your admin session and perform a checkout as a regular customer.
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 X-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 X-Cart
X-Cart is a renowned open-source e-commerce platform that powers over 35,000 stores in 111 different countries. With its open-source PHP backend, it gives users full control over their installation and is very easy to use, maintain and modify. It comes with a website builder, enabling merchants to customize every element of their online store.