Skip to main content

Modify Merchant account response

14 years 2 weeks ago #72356 by rockstaran
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.

14 years 2 weeks ago #72586 by nicolas
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.040 seconds
Powered by Kunena Forum