- Posts: 217
- Thank you received: 1
EWay Payment Plugin - AMEX
14 years 6 months ago #44684
by Mat
EWay Payment Plugin - AMEX was created by Mat
Hi Nic,
It seems like AMEX is not processing through my plug in. Is that a setting I missed? Is there any error message returned if the payment fails?
Mat
It seems like AMEX is not processing through my plug in. Is that a setting I missed? Is there any error message returned if the payment fails?
Mat
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44687
by Mat
Replied by Mat on topic Re: EWay Payment Plugin - AMEX
OK so I called EWay. We didn't authorise the plugin to use AMEX. Shouldn't there be an error message when things go wrong?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #44868
by nicolas
Replied by nicolas on topic Re: EWay Payment Plugin - AMEX
Indeed, it would make sense to display the error message.
Please add the code:
$error = $eway->getErrorMessage();
if(!empty($error)){
$app->enqueueMessage($error);
}
after the code:
$app->enqueueMessage('Your transaction was declined. Please reenter your credit card or another credit card information.');
in the file plugins/hikashoppayment/eway/eway.php and it should display error messages when necessary.
Please add the code:
$error = $eway->getErrorMessage();
if(!empty($error)){
$app->enqueueMessage($error);
}
after the code:
$app->enqueueMessage('Your transaction was declined. Please reenter your credit card or another credit card information.');
in the file plugins/hikashoppayment/eway/eway.php and it should display error messages when necessary.
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds