Dave Heavy Industries - A journal of tech-findings and ramblings

07 Feb 2011

Magento eWay Beagle patch

Fontis wrote an eWay payment gateway module for magento which works really well, but it doesn’t support beagle (anti-fraud) stuffs. I’ve written a quick patch to change the gateway url and append the necessary fields. Minimal testing has been peformed. Highly recommend sandbox/heavy testing before production use.

With the test account number of 87654321 or 12345678, it will error with “This service has not been enabled for this merchant”. Beagle doesn’t work on the test customer id, but it does validate the xml - so it should be all good with a beagle enabled customer id.

this was patched against version 1.2.4. other versions might work.

Module available here http://www.magentocommerce.com/magento-connect/Fontis/extension/3671/fontis_ewayau My patch available here http://www.daveheavyindustries.com/files/ewaybeagle.patch

to patch the files. copy the .patch file into the magento root and run

patch -p4 < ewaybeagle.patch If you’ve already modified the files, I would recommend you uninstall the module and re-install before continuing.

patched files here - http://www.daveheavyindustries.com/files/EwayAu-modified.tbz

Test Card Information

CustomerId - 87654321 Visa - 4444333322221111 01/11 CVV2 -123

comments powered by Disqus