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

#   Send payment information by email to the customer

##

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

Less More

- Posts: 111
- Thank you received: 0
-
-

11 years 5 months ago [\#203921](#203921) by [nunonog](/forum/user/37449-nunonog "View nunonog's Profile")  *[Send payment information by email to the customer](/forum/29-payment-methods/877355-send-payment-information-by-email-to-the-customer#203921 "-- url of the page with the problem -- :   www.portal-gestao.com  -- HikaShop version -- : 240 -- Joomla version -- : 341 -- Browser(s) name and version -- : Chrome  Hello,  I've created a custom payment method by hacking the core Western Union's.  On the last page, after the order is complete teh customer gets a reference for payment (&quot;Multibanco&quot; here in Portugal).  He sees something like this:  Entity: 123123 Reference: 12312313 Value: € 12,12  It is working OK, the PHP function to generate this reference was added to western&#95;union&#95;end.php  But how do I include the reference also in the email sent to the customer, like it happens with the bank transfer account information?  Thank you for your support!")* was created by *[nunonog](/forum/user/37449-nunonog "View nunonog's Profile")*

-- url of the page with the problem -- : [ www.portal-gestao.com](http://www.portal-gestao.com)
-- HikaShop version -- : 240
-- Joomla version -- : 341
-- Browser(s) name and version -- : Chrome

Hello,

I've created a custom payment method by hacking the core Western Union's.

On the last page, after the order is complete teh customer gets a reference for payment ("Multibanco" here in Portugal).

He sees something like this:

Entity: 123123
Reference: 12312313
Value: € 12,12

It is working OK, the PHP function to generate this reference was added to western_union_end.php

But how do I include the reference also in the email sent to the customer, like it happens with the bank transfer account information?

Thank you for your support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzczNTUtc2VuZC1wYXltZW50LWluZm9ybWF0aW9uLWJ5LWVtYWlsLXRvLXRoZS1jdXN0b21lcj90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

11 years 5 months ago [\#203924](#203924) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send payment information by email to the customer](/forum/29-payment-methods/877355-send-payment-information-by-email-to-the-customer#203924 "-- url of the page with the problem -- :   www.portal-gestao.com  -- HikaShop version -- : 240 -- Joomla version -- : 341 -- Browser(s) name and version -- : Chrome  Hello,  I've created a custom payment method by hacking the core Western Union's.  On the last page, after the order is complete teh customer gets a reference for payment (&quot;Multibanco&quot; here in Portugal).  He sees something like this:  Entity: 123123 Reference: 12312313 Value: € 12,12  It is working OK, the PHP function to generate this reference was added to western&#95;union&#95;end.php  But how do I include the reference also in the email sent to the customer, like it happens with the bank transfer account information?  Thank you for your support!")*

Hi,

With the Business edition, you can edit the emails via the menu System&gt;Emails in order to add your custom code.
Otherwise, you need to edit the email files directly in the folder media/com_hikashop/mail/ via FTP.
It's the order_creation_notification.html.php and order_creation_notification.preload.php files that you want to edit.

The following user(s) said Thank You: [nunonog](/forum/user/37449-nunonog "View nunonog's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NzczNTUtc2VuZC1wYXltZW50LWluZm9ybWF0aW9uLWJ5LWVtYWlsLXRvLXRoZS1jdXN0b21lcj90bXBsPW1hcmtkb3du) 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.048 seconds

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