Page 1 of 1
eWay module with Beagle support
Posted: Thu Aug 05, 2010 11:06 pm
by jtsroberts
Any chance qphoria you could update the eWay module to include the Beagle anti-fraud measures? As far as I know, it only requires passing 1 additional field to the eWay API (as IP address is already sent), and posting to a different URL.
I did try to contact you via Skype as your site requests but haven't heard anything for a few days - thought this might be a better way to get in contact and also to help others.
Joel
Re: eWay module with Beagle support
Posted: Thu Aug 05, 2010 11:35 pm
by Qphoria
Ok done. redownload from your account page on my site
Re: eWay module with Beagle support
Posted: Thu Aug 05, 2010 11:45 pm
by jtsroberts
Brilliant, thanks qphoria. I'll test it out tomorrow (it's nearly 2am now) - the boss will be happy

Re: eWay module with Beagle support
Posted: Mon Aug 09, 2010 10:08 am
by jtsroberts
Hey Qphoria. I picked up an oversight in the beagle implementation - line 219 of controller/payment/eway_hosted.php should be the Beagle payment url which ends in xmlbeagle.asp not xmlpayment.asp
Re: eWay module with Beagle support
Posted: Mon Aug 09, 2010 10:23 am
by jtsroberts
I just found another bug. The field the eway api expects for country code (ewayCustomerBillingCountry) has a max length of 2 characters (ie. the country code only, not the entire country).
Re: eWay module with Beagle support
Posted: Wed Aug 11, 2010 6:37 am
by jtsroberts
Just wondering if you've had a chance to update the module yet?
Re: eWay module with Beagle support
Posted: Wed Aug 11, 2010 8:49 am
by Qphoria
Hmm.. it should be passing only the 2 letter code. I'll check it again
Re: eWay module with Beagle support
Posted: Wed Aug 11, 2010 10:48 am
by jtsroberts
Qphoria wrote:Hmm.. it should be passing only the 2 letter code. I'll check it again
You're right, it should be - the controller/payment/eway_hosted.php file uses payment_iso_code_2 for the value so it should be passing AU as the code. I'll do some more testing now locally to see if I can get any more specific info on the error.
Re: eWay module with Beagle support
Posted: Wed Aug 11, 2010 11:26 am
by jtsroberts
It looks like the XML being sent to eway is missing the actual data for ewayCustomerBillingCountry. The txt output file that is used for debugging shows no data for that node (even though Australia shows clearly in the user details for shipping and payment addresses):
<ewayCustomerBillingCountry></ewayCustomerBillingCountry>
And this might help (from system/logs/error.txt):
2010-08-11 14:10:26 - PHP Notice: Undefined index: payment_iso_code_2 in blah\catalog\controller\payment\eway_hosted.php on line 169
Re: eWay module with Beagle support
Posted: Sun Aug 15, 2010 5:13 pm
by jtsroberts
Hey Q, any idea when the module will be updated?
Re: eWay module with Beagle support
Posted: Fri Aug 20, 2010 7:10 am
by Qphoria
ok updated
Re: eWay module with Beagle support
Posted: Fri Aug 20, 2010 7:18 am
by jtsroberts
Great
I'll test it out today.