Integrate osCommerce and Eway Rapid
Trexle connects osCommerce to Eway Rapid and 100+ other payment gateways using a single plugin for one time annual fee
Eway Rapid and osCommerce 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 osCommerce
- Log in to your osCommerce admin panel
- On the left menu in the Admin panel, click on the ‘Modules’ tab
- Under the ‘Modules’ tab, click on the link ‘Payment’ and then on the button ‘Install Module’
- Find the ‘Trexle’ extension after clicking on the ‘Install Module’
- Click on ‘Trexle’ and then on the ‘Install Module’ button
- Trexle plugin should now be successfully installed
To ensure the integration works seamlessly, create a test product, logout from your admin session and perform a checkout as a regular customer.
Here is a video tutorial on both installation and order testing.
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.
Other integrations between Eway-rapid and Oscommerce
OsCommerce EWay Rapid 3.0 Payment
EWay Rapid 3.0 Payment
Under the www/
Modify file rapid/config.ini
----------------------------------
;;;;;;;;;;;;;;;;;;;
; User Credentials ;
;;;;;;;;;;;;;;;;;;;
Payment.Username = ""
Payment.Password = ""
----------------------------------
Modify file includes/modules/payment/eWayPayment.php
Line 28
----------------------------------
$this->redirect_url = "http://your_website_url/checkout_process.php";
----------------------------------
Any question, please contact [email protected]
The extension is provided by OsCommerce contributer and is Free
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 osCommerce 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 osCommerce
Being in the fintech business for 18 years, osCommerce platform enables merchants to create their very own online store and start selling products and services to customers worldwide. The tools they offer to merchant owners are free, available under Open Source license. osCommerce also has a large community of store owners, developers, and service providers who help each other during the many stages of maintaining an online business.