[Skip to main content](#vessel-content)

#   Modify Merchant account response

##

- **[rockstaran](/forum/user/7241-rockstaran "View rockstaran's Profile")**
- [![rockstaran's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7241-rockstaran "View rockstaran's Profile") Topic Author
- [ Offline](/forum/user/7241-rockstaran)

Less More

- Posts: 57
- Thank you received: 0
-
-

14 years 2 weeks ago [\#72356](#72356) by [rockstaran](/forum/user/7241-rockstaran "View rockstaran's Profile")  *[Modify Merchant account response](/forum/4-how-to/72356-modify-merchant-account-response#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")* was created by *[rockstaran](/forum/user/7241-rockstaran "View rockstaran's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcyMzU2LW1vZGlmeS1tZXJjaGFudC1hY2NvdW50LXJlc3BvbnNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 2 weeks ago [\#72586](#72586) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Modify Merchant account response](/forum/4-how-to/72356-modify-merchant-account-response#72586 "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")*

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-&gt;enqueueMessage($errorMsg);

For example, you would have:
$app-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzcyMzU2LW1vZGlmeS1tZXJjaGFudC1hY2NvdW50LXJlc3BvbnNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.039 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
