Modify Merchant account response

  • Posts: 57
  • Thank you received: 0
12 years 3 weeks ago #72356

Hello, I am using FirstData as my checkout merchant service, and would like to know if there is a way to modify the response I get when the card id rejected/declined, etc...

Currently I get a message like:
X07
SGS-000001: D:DeclinedXXUX


which shows up on the screen (not very good looking to a potential client/customer)

Any help will be greatly appreciated.
Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 2 weeks ago #72586

Hi,

That message is what is sent back by the payment plugin.
You would have to change the display of the $errorMsg in the file plugins/hikashoppayment/firstdata/firstdata.php file:
$app->enqueueMessage($errorMsg);

For example, you would have:
$app->enqueueMessage('The transaction has been declined');

The only issue with that is that you loose the exact error message sent back by the payment gateway and it can be useful for debugging issues.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum