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

#   Paypal return but no notification email sent

##

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago [\#261721](#261721) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#261721 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")* was created by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5

Hello,
I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.

When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.

However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.

What have a I done wrong?

Thanks

Lee

[ ![Screenshot2017-02-0818.51.42.png](/forum/attachment/36178) ](/forum/attachment/36178 "...0818.51.42.png")

- [ ![Screenshot2017-02-0818.51.42.png](/forum/attachment/36178) ](/forum/attachment/36178 "...0818.51.42.png") [ ](/forum/attachment/36178?download=1 "...0818.51.42.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 9 months ago -  9 years 9 months ago [\#261787](#261787) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#261787 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Hello,

Sorry but I'm sure to understand your needs when you say : Code:

"However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option."

Do you mean that your order is **validated** by Paypal but there is **no email to the the customer** ?
Can you precise, the idea.
Awaiting news from you.

Regards

Last edit: 9 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago -  9 years 9 months ago [\#261791](#261791) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#261791 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Philip,
To confirm, I have two payment options for customers, WorldPay and PayPal.

When ordering via WorldPay, all the notification emails etc are sent correctly once a confirmed payment is completed via WorldPay and you return to the HikaShop website.

When ordering via PayPal, it transfers to PayPal, you complete the transaction successfully and then return to the HikaShop site. But no emails are then sent to the customer / admin.

Pleas help, I need to get this site live asap!

When I check the Email history, there is also nothing listed for that order, and there appears to be nothing in the payment log file for that transaction.

Last edit: 9 years 9 months ago by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile").

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

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago [\#261834](#261834) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#261834 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

It seems that the notification emails used by WorldPay and PayPal are different, I had one of the order notification emails turned off.

Once I had turned on this order notification email then it did successfully send through the email.

I'm still testing and so is the client.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODg3MjgtcGF5cGFsLXJldHVybi1idXQtbm8tbm90aWZpY2F0aW9uLWVtYWlsLXNlbnQ/dG1wbD1tYXJrZG93bg==) 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: 86593
- Thank you received: 14334
-
-

9 years 9 months ago -  9 years 9 months ago [\#261829](#261829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#261829 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Hi,

HikaShop uses the exact same emails to the customer for all the payment methods. So if you receive them for one and not the other, then there is more to it than what you said.

First thing to check is that the order status is changed to "confirmed". That's when HikaShop knows that the payment has been done for an order and then send the email notifications.
I suppose that the status is still "created", which indicates that HikaShop didn't receive the payment notification from PayPal.
Many things can lead to that.
Here is a documentation which lists them and explains what to do in order to find out what's the issue:
[ www.hikashop.com/support/documentation/i...or.html#notification](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html#notification)

Last edit: 9 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago [\#262294](#262294) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#262294 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

I have done everything on this page [ www.hikashop.com/support/documentation/i...nt-paypal-error.html](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/33-hikashop-payment-paypal-error.html)

There are no errors in the log file, the server reports a successful 200 status.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 9 months ago -  9 years 9 months ago [\#262315](#262315) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#262315 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Hello,

Can you check that **order status** is mute to confirmed by ¨Paypal payment plugin ?
Do you process some test with the **debug mode** **On** in paypal plugin configuration ?
And have a look on the payment log ( in **Components** =&gt; **HikaShop** =&gt; **Configuration** and **file** part)

[ ![getLog.png](/forum/attachment/36335) ](/forum/attachment/36335 "getLog.png")

Can you provide **complete** log file in order to see if we have some clues on what's going on ?
For this use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form, and fill your **message subject** with **this** topic subject.

Awaiting news from you.

Regards

- [ ![getLog.png](/forum/attachment/36335) ](/forum/attachment/36335 "getLog.png") [ ](/forum/attachment/36335?download=1 "getLog.png")

Last edit: 9 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 237
- Thank you received: 5
-
-

9 years 9 months ago [\#262395](#262395) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#262395 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Philip,
When the ordered was created on the site is was being set to confirmed, before payment was taken, then once payment had been taken, and you returned to the site, the email was not being sent because the status was not being changed. By commenting out:

if($dbOrder-&gt;order_status == $order_status){
// return true;
}

The plugin then continued with the code and successfully sent the emails. It maybe a bit dirty but it works in my situation!

I think there is certainly scope for a future release to allow emails to be sent ONLY when a successful transaction has taken place. I believe from searching these forums for a few days that quite a number of people run sites in a similar fashion, whereby they do not want either the merchant or customer to be notified of an order unless there has been a successful transaction. This is the way many other commercial e-commerce sites work (Amazon to name one!) I do not receive any emails from these sites until I have made a successful payment.

Thanks for all your help and support.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 9 months ago -  9 years 9 months ago [\#262397](#262397) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Paypal return but no notification email sent](/forum/29-payment-methods/888728-paypal-return-but-no-notification-email-sent#262397 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello, I have the standard PayPal plugin setup within Hikashop, with the settings as in the attached image.  When I created an order via the website, I was transferred to PayPal, processed the transaction successfully and then returned to the site, whereby I got the confirmation screen saying my order was successful and I would receive an email notification. I can login to my HikaShop account and see the successful order and have received an email from PayPal saying my order was successful.  However, I have not had the HikaShop customer order notification email. I do get this email when using the WorldPay payment option but not when using the PayPal option.  What have a I done wrong?  Thanks  Lee")*

Hello,

Why not, if you're okey with this solution we are happy that you have your solution !
But in the future, if you have issue with this plugin, in order to better understand situation give us information that you have custom your paypal plugin.
And so understand plugin processing will be less difficult for us, that's the only limit I see with this kind of solution.
the best way to **send your plugin version**, and so everyone will process tests with the same plugin.

Regards

Last edit: 9 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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