Forums / Addon Payment Modules / eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Results 1 to 20 of 41
18 Nov 2012, 23:49
#1
maclean_cherry avatar

maclean_cherry

New Zenner

Join Date:
Apr 2008
Posts:
9
Plugin Contributions:
2

eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Attachment 11482

This is the support thread for our latest API - Rapid 3.0. The module is attached to this post and a link to the plugin section listing will be provided when the listing is approved.

Attachment 11481

Rapid 3.0 offers complete control over the look and feel of your payment pages while reducing the merchant's scope for PCI DSS compliance. For enhanced security, you can POST credit card data directly from the customer's web browser to eWAY, bypassing the merchant's website.

Attachment 11483

Payments sent through Rapid 3.0 will pass through the Beagle system, and for those with the service enabled, also through the Beagle Alerts system (powered by ReD).

Using ReD's vast neural network of transaction data from around the globe allows eWAY to validate the transaction against a broad range of risk factors.

Rapid 3.0 is also integrated into our Token Payments solution, allowing you to save your customers payment information for use on any future purchases. Through Token Payments, you can Create Tokens, update Tokens, and Process Payments for existing tokens.

Rapid 3.0 provides a single end point for all countries where eWAY processes payments. This means if you expand your business beyond Australia, the integration will be exactly the same.

eWAY uses a complex DNS technology to ensure your payment is routed to the correct country.

Note: This module is not currently compatible with Token Payments or 3dSecure.
22 Nov 2012, 02:20
#2
maclean_cherry avatar

maclean_cherry

New Zenner

Join Date:
Apr 2008
Posts:
9
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Our extension page is now up. Check it out HERE
11 Dec 2012, 04:44
#3
gaffer avatar

gaffer

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Thanks for the plugin.

I have attempted to use it in my testing environment prior to switching a site live. However my first test transaction responded with the following:
CreateAccessCode SOAP Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.sandbox.ewaypayments.com/Soap.asmx?WSDL' : Start tag expected, '<' not found


Any idea what I have done wrong. I have used an eWay IP key and credit card 4111 1111 1111 1111 with a CSV 123.
Thanks
02 Jan 2013, 22:11
#4
gaffer avatar

gaffer

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Thank you for the message re the interaction with curlwrappers and the alternate approach of using the Request:Method = REST and format JSON. Unfortunately that has returned a malformed error message
PHP Warning: Invalid argument supplied for foreach() in /xxxxx/includes/modules/payment/eway_rapid/RapidAPI.php on line 51

Any additional thoughts
18 Feb 2013, 23:35
#5
maclean_cherry avatar

maclean_cherry

New Zenner

Join Date:
Apr 2008
Posts:
9
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

We have now submitted a new version of the module addressing some issues people were having with strange/missing SOAP configurations on their servers.

Attachment #11963
19 Feb 2013, 22:14
#6
gaffer avatar

gaffer

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

For new users of the eWAY module and especially users of previous versions, I strongly encourage you to go to the eWAY site to read the extensive manual that goes with the RAPID 3.0 implementation, the sandbox they have provided and especially to obtain your API keys for the live and sandbox environments.
25 Feb 2013, 00:34
#7
maclean_cherry avatar

maclean_cherry

New Zenner

Join Date:
Apr 2008
Posts:
9
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

gaffer:

For new users of the eWAY module and especially users of previous versions, I strongly encourage you to go to the eWAY site to read the extensive manual that goes with the RAPID 3.0 implementation, the sandbox they have provided and especially to obtain your API keys for the live and sandbox environments.


Thanks Gaffer,

I've just added to the Readme and resubmitted. Now includes link to documentation and the KB Articles for creating the API Keys.

Maclean
03 Jun 2013, 05:28
#8
gaffer avatar

gaffer

New Zenner

Join Date:
Feb 2010
Posts:
17
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Maclean
I noticed the other day that when you look at the on-line eWAY transaction report the invoice number field is blank. Is this something that can be fix or is there a setting I am missing?
Thanks
12 Nov 2013, 06:05
#9
jetx avatar

jetx

Zen Follower

Join Date:
Apr 2006
Posts:
425
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Is anyone using the eway module for Zencart? I have been testing it (sandbox account) and so far it seems quite poor, ie response codes are not informative to the customer, eg enter a wrong year for CC expiry and it returns 06-declined. Also, if a customer clicks confirm order twice in a row it will result in a site error forcing the customer to reload and go back to the shopping cart, although the customer will receive two charges (or more, depending upon how many times they clicked).

Anyway, if anyone is using this and would like to share their url I would like to see it in action as it is possible my configuration might be improved.
27 Feb 2014, 22:16
#10
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Is there a way of changing the location of the Card Details form on the checkout_confirmation page? It is currently at the very bottom of the page. I would like to move it up towards the top just under "Payment Method: eWAY Credit Card"
27 Feb 2014, 22:30
#11
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

Is there a way of changing the location of the Card Details form on the checkout_confirmation page? It is currently at the very bottom of the page. I would like to move it up towards the top just under "Payment Method: eWAY Credit Card"


Check your includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php file. You should be able to jiggle the fields around.

Make a Backup First - it is easy to break the code in this file!
27 Feb 2014, 22:46
#12
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Thank you Frank. That did the trick! It helps if you know where to look...
27 Feb 2014, 22:59
#13
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

Thank you Frank. That did the trick! It helps if you know where to look...


Sure does.... :smile: - have a great day!
27 Jun 2014, 23:38
#14
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Had a customer who paid for part of her order with a discount voucher. She paid for the remainder with her CR card via eWay.
However eWay did not deduct the discount voucher from the total and processed the full amount. I then had to refund her the value of the discount voucher.
I do not have this problem when customers pay via PayPal.
Any ideas why this is happening?
28 Jun 2014, 07:11
#15
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

Had a customer who paid for part of her order with a discount voucher. She paid for the remainder with her CR card via eWay.
However eWay did not deduct the discount voucher from the total and processed the full amount. I then had to refund her the value of the discount voucher.
I do not have this problem when customers pay via PayPal.
Any ideas why this is happening?


Suggest you contact eWay directly, after all - you are paying for their service so they should be able to fix this issue.
29 Jul 2014, 00:36
#16
jonnoc avatar

jonnoc

New Zenner

Join Date:
May 2013
Posts:
14
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Just wanted to see if it is possible to pass on the CC charges to a customer, for example:

If you get charged 2% for Master/Visa and 3% for AMEX can this be added to the customers order total before payment is done?

Cheers
Jon
14 Sep 2015, 04:27
#17
edvon avatar

edvon

New Zenner

Join Date:
Aug 2009
Posts:
26
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Hi robbie269
just stumbled over your post... have you been able to resolve this issue? I have got the same problem and opened a case with eway about it, but haven't heard anything yet.
thanks, Ed


robbie269:

Had a customer who paid for part of her order with a discount voucher. She paid for the remainder with her CR card via eWay.
However eWay did not deduct the discount voucher from the total and processed the full amount. I then had to refund her the value of the discount voucher.
I do not have this problem when customers pay via PayPal.
Any ideas why this is happening?
04 Jan 2016, 07:07
#18
queryeverything avatar

queryeverything

New Zenner

Join Date:
Dec 2015
Posts:
2
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Extracting Transaction ID from the Order, for store report, via MySQL Query (custom report).

As an alternative, I had asked eWay if they would assist in amending their module to write their transaction data to it's own table, however as the dev team were winding down for Christmas / New Year, an 'emergency measure' in the meantime was emailed to me, the following code suggestions have been presented.
Ideally I would like to see the module write to it's own tables, is this something that someone in the community could do - or is this gateway an eWay only module??

I have been communicating with eWay regarding my options, however over Christmas/New Year it may be quicker coming and asking for some further advice here.

I am adding to my store monthly sales query which I run using a custom MySQL query in MySQL Workbench and I am trying to extract the Transaction ID from each order that has been purchased using eWay, which I then match up my eWay reports transaction history in excel.

I was given these 2 pieces of code to add to my query, both work, however they only return orders with the Transaction ID, and none of those where the 'Comments' are blank or contain 'PayPal' (which I also added as an 'OR'). If someone could please assist.

----------
eWay code
select REPLACE(comments, 'eway TransactionID: ', '') from orders_status_history WHERE comments LIKE 'eway TransactionID%' 

- Only returns eWay transactions

or
select orders_id, REPLACE(comments, 'eway TransactionID: ', '') AS transaction_id from orders_status_history WHERE comments LIKE 'eway TransactionID%'


----------
My code
This returns the Transaction ID, but I can't get it to return both eWay & PayPal OR eWay, blank & PayPal and if I tell it to return ALL comments, my query returns over 10,000 lines, 2/3 of which are duplicates as the customer and admins have added comments to orders.

Select 	
-- Get Order data --
T5.orders_id As OrdID,  
DATE_FORMAT(T5.date_purchased, '%Y-%m-%d') As OrdDate,  
T3.products_name As ProdName,  
-- Rest of query -- 

REPLACE(O2.comments, '%eway Transaction%', '') as OrdCom
-- Extra query --

From /*PREFIX*/products T1
--other joins--

Left Join /*PREFIX*/orders_status_history O2 On (O2.orders_id = T2.orders_id)

----------

I was wondering about using a CASE query, however I am unsure on how to write it.
How do I extract the whole string of what is in the comments (as below), except in the case of PayPal, example under "CASE"

CASE 
When(O2.comments = '%eway Transaction%') then 'eway TransactionID: xxxxxxxxx' -- eWay
When(O2.comments = '%Transaction ID%') then 'Transaction ID: 02D32743CD990491Y'  -- PayPal**
When(O2.comments = ' ') then ' '  -- Blank comments
When(O2.comments = 'everything else') then ' '  -- Blank comments
End As OrdCom,


** However, PayPal comments return as below, so would want to truncate them to only between "Transaction ID and P" (Payment), any ideas??:
'Transaction ID: xxxxxxxxxxxxxxxxx
Payment Type: PayPal Express Checkout (instant)
Timestamp: 2013-09-26T18:48:09Z
Payment Status: Completed
Amount: 29.99 AUD '

In Excel I would use: =LEFT(A1,FIND("Payment",A1&"Payment")-1)

-----
Is this a lost cause, I'm sure I should be able to just extract the the TransID comments without all the other data, in a larger query, without having to run 2 separate reports and join then post run.

Thanks in advance.
05 Mar 2016, 03:19
#19
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Just installed this module a few weeks ago and principally I am very happy with. It has a few flaws though, one of them being that many merchant facilities only accept AUD as currency (if you are based in Australia).

Got around this issue by implementing this hack:

https://www.zen-cart.com/showthread.php?218909-Forcing-default-currency-at-checkout&p=1305188#post1305188

The customer can still select their own currency when browsing and adding to the cart, but once they get to the checkout payment page the currency in the cart is forced to be the default currency and the order is recalculated in the default currency, namely AUD.

It would be good if the eWay devs could implement this in their module to invoke the default currency AUD only when this module is selected.

Frank
06 Mar 2016, 07:10
#20
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Instead of modifying ZC core code (as shown in my last post), a more elegant way of overcoming the currency symbol issue is this hack:

In the file includes/modules/payment/eway_rapid.php find this code

[PHP]
/**
* Build the data and actions to process when the "Submit" button is pressed on the order-confirmation screen.
* This sends the data to the payment gateway for processing.
* (These are hidden fields on the checkout confirmation page)
*
* @return string
*/
function process_button() {
global $db, $order, $currencies, $currency, $messageStack;

[/PHP]

Immediately after that insert

[PHP]

// bof force change currency code to AUD -- frank18 20160306
$show_charged_amount = false;
if (!in_array($order->info['currency'], array('AUD'))) {
// we are not in default currency so we need to change currency code to default AUD as eWay only accepts AUD
$order->info['currency'] = zen_currency_exists(DEFAULT_CURRENCY, false);
// now show the customer what they are being charged in $AUD
$show_charged_amount = true;
$displayed_amount = number_format($order->info['total'], 2, '.', '');
}
// eof force change currency code to AUD -- frank18 20160306

[/PHP]

To show the customer what and how they are being charged, in the same file find

[PHP]
echo '<!-- Begin eWAY Linking Code -->
[/PHP]

Just before that code insert

[PHP]
// bof heading added -- frank18 20160306
echo '<h2>eWAY Payment Details</h2>';
if ($show_charged_amount) {
echo '<div id="ewayRapidPayment">Your payment will be processed in Australian Dollars ($AUD)</div>';
echo 'Amount charged in $AUD ' . $displayed_amount;
}
echo '<h3>(Payment will appear on your Credit Card Statement as <b>WHATEVER YOU WANT TO SAY HERE</b>)</h3>';
// eof heading added -- frank18 20160306

[/PHP]


With this modification we are only passing the currency code AUD instead of the customer selected currency code (eg USD, EUR, NZD etc), the functionality of the original eWay code is not changed at all.

All shopping cart and checkout pages continue to show the customer chosen currency and values.