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
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
Brilliant, thanks qphoria. I'll test it out tomorrow (it's nearly 2am now) - the boss will be happy 

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
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).
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.Qphoria wrote:Hmm.. it should be passing only the 2 letter code. I'll check it again
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
<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
Who is online
Users browsing this forum: No registered users and 6 guests