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

#   Not receiving email after purchase

##

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

Less More

- Posts: 86292
- Thank you received: 14269
-
-

10 years 4 months ago [\#242859](#242859) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Not receiving email after purchase](/forum/27-checkout/867480-not-receiving-email-after-purchase?start=20#242859 "-- url of the page with the problem -- :   c-value.dk/c-value-webshop  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.5.8 -- Browser(s) name and version -- : Chrome  Hello guys  I hope you can help me out with this issue. I have just installed hikashop and it seems to be working perfectly except for one important feature. When I buy a product in the &quot;webshop&quot; I don't receive an email with the confirmation. I have entered an email address in Global Configuration --&gt; Server --&gt; Mail settings.  What could the problem be?")*

Hi,

Sorry for the delay, we didn't had the time to debug the problem last week.
We've done some tests on our end and were able to reproduce the issue and fix it.
If you download the install package on our website and install it on yours, that will add the patch and it will work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NzQ4MC1ub3QtcmVjZWl2aW5nLWVtYWlsLWFmdGVyLXB1cmNoYXNlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile")
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

10 years 4 months ago -  10 years 4 months ago [\#242973](#242973) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Not receiving email after purchase](/forum/27-checkout/867480-not-receiving-email-after-purchase?start=20#242973 "-- url of the page with the problem -- :   c-value.dk/c-value-webshop  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.5.8 -- Browser(s) name and version -- : Chrome  Hello guys  I hope you can help me out with this issue. I have just installed hikashop and it seems to be working perfectly except for one important feature. When I buy a product in the &quot;webshop&quot; I don't receive an email with the confirmation. I have entered an email address in Global Configuration --&gt; Server --&gt; Mail settings.  What could the problem be?")*

Can I replace only /administrator/components/com_hikashop/classes/order.php?

**Upd**
I see modofied line. Iinstead Code:

if(empty($order-&gt;customer) &#124;&#124; @$order-&gt;customer-&gt;user_id != $order-&gt;order_user_id) {

now Code:

if(empty($order-&gt;customer) &#124;&#124; (int)@$order-&gt;customer-&gt;user_id != (int)$order-&gt;order_user_id) {

Is it enough?

Last edit: 10 years 4 months ago by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile").

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

Less More

- Posts: 86292
- Thank you received: 14269
-
-

10 years 4 months ago [\#242999](#242999) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Not receiving email after purchase](/forum/27-checkout/867480-not-receiving-email-after-purchase?start=20#242999 "-- url of the page with the problem -- :   c-value.dk/c-value-webshop  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.5.8 -- Browser(s) name and version -- : Chrome  Hello guys  I hope you can help me out with this issue. I have just installed hikashop and it seems to be working perfectly except for one important feature. When I buy a product in the &quot;webshop&quot; I don't receive an email with the confirmation. I have entered an email address in Global Configuration --&gt; Server --&gt; Mail settings.  What could the problem be?")*

Yes. That's the change that was done to fix that.

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

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

[](#top)
