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

#   Paypal Pro and Paypal Customer Notification issue

##

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

Less More

- Posts: 56
- Thank you received: 4
-
-

7 years 3 months ago [\#309164](#309164) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309164 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")* was created by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")*

-- HikaShop version -- : 4.2.0
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Firefox

Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the "Order Creation Notification." The order comes through directly as confirmed and there is no "Order Status Notification" email, which is good, because I only want the customer to get one confirmation email.

I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an "Order Creation Notification" before he has completed his PayPal payment. This of course is confusing because the customer sees a "confirmation" email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second "Order Status Notification" email.

The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the "Order Creation Notification" however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.

Any suggestions?

Thanks!

Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc5NjUtcGF5cGFsLXByby1hbmQtcGF5cGFsLWN1c3RvbWVyLW5vdGlmaWNhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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: 86574
- Thank you received: 14317
-
-

7 years 3 months ago [\#309165](#309165) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309165 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")*

Hi,

You can modify a bit the order creation notification email to only send it for "paypalpro" :
[ www.hikashop.com/forum/4-how-to/879736-o...on-email.html#216914](https://www.hikashop.com/forum/4-how-to/879736-order-creation-email.html#216914)

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

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

Less More

- Posts: 56
- Thank you received: 4
-
-

7 years 3 months ago [\#309198](#309198) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  Replied by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")* on topic *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309198 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")*

Thanks Nicolas, so just add the code:

&lt;?php if( $data-&gt;order_payment_method != "banktransfer" ){ return; } ?&gt;

to the top of the HTML for the Order Creation notification? In your example you use "banktransfer," how do I know what to name mine? I named the payment method "credit card payment" but the actual type is "HikaShop PayPal Pro payment plugin" do i just remove the spaces for one of them?

Thanks,

Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc5NjUtcGF5cGFsLXByby1hbmQtcGF5cGFsLWN1c3RvbWVyLW5vdGlmaWNhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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: 86574
- Thank you received: 14317
-
-

7 years 3 months ago [\#309199](#309199) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309199 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")*

Hi,

You should replace "banktransfer" by "paypalpro". That's why I wrote it like that in my previous message.
That's the name of the folder in the plugins/hikashoppayment/ folder of your website.

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

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

Less More

- Posts: 56
- Thank you received: 4
-
-

7 years 3 months ago [\#309278](#309278) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  Replied by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")* on topic *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309278 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")*

Hey Nicolas, I tried this but I am still getting the order creation notification when using paypal. The email is also now blank except for a header image.

Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTc5NjUtcGF5cGFsLXByby1hbmQtcGF5cGFsLWN1c3RvbWVyLW5vdGlmaWNhdGlvbi1pc3N1ZT90bXBsPW1hcmtkb3du) 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: 86574
- Thank you received: 14317
-
-

7 years 3 months ago [\#309279](#309279) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal Pro and Paypal Customer Notification issue](/forum/29-payment-methods/897965-paypal-pro-and-paypal-customer-notification-issue#309279 "-- HikaShop version -- : 4.2.0 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Hello, my site uses Paypal Pro to accept credit cards right at the checkout page. When the customer completes the order he gets one email - This is the &quot;Order Creation Notification.&quot; The order comes through directly as confirmed and there is no &quot;Order Status Notification&quot; email, which is good, because I only want the customer to get one confirmation email.  I now need to setup regular PayPal on the site. So I set the PayPal payment method and it seems to work however the customer gets an &quot;Order Creation Notification&quot; before he has completed his PayPal payment. This of course is confusing because the customer sees a &quot;confirmation&quot; email before he has paid and then he does not continue to actually pay.. this has happened several times now. When he does pay, he does get the second &quot;Order Status Notification&quot; email.  The issue here is that I want the paypal customer to only get one confirmation email only after he has paid. Other threads have suggested to disable the &quot;Order Creation Notification&quot; however in my case, doing that removes any notification for customers paying via Paypal Pro / CC.  Any suggestions?  Thanks!  Matt")*

Hi,

Then change that line to:
&lt;?php if( $data-&gt;order_payment_method != "banktransfer" ){ $mail-&gt;published = false; return; } ?&gt;

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

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