Here's another fix.
The eWay module contains a descriptive message for when a card is declined, but never uses the message. A customer with a declined card only sees the obtuse code response (eg: '05 DO NOT HONOUR')
You can also display the descriptive message which makes it easier for the user to figure out what's happened. Eg:
'Your credit card could not be authorized for this reason. Please correct any information and try again or contact us for further assistance.'
Edit /includes/module/payment/eway.php and find this line:
Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . $transaction_error, 'SSL', true, false));
change it to this:
Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . $transaction_error . ': ' . MODULE_PAYMENT_EWAY_TEXT_DECLINED_MESSAGE, 'SSL', true, false));
You can also change the message to anything you like.
See /includes/languages/english/modules/payment/eway.php
regards,
Reuben