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

#   Send mail ONLY on confirmed payment

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 10 months ago [\#31867](#31867) by [fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")  *[Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#31867 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")* was created by *[fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")*

hello

I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.

thx for help

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

14 years 10 months ago [\#31893](#31893) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#31893 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

In the menu System-&gt;Emails (Business edition only) you can unpublish the emails sent by HikaShop and they won't be sent anymore. There you will find that "order creation notification" email which is sent when the order is created.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 10 months ago [\#31963](#31963) by [fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")  Replied by *[fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#31963 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Ohhhn man... my client doesnt need a Business version, but he is asking me, how can see new customers, without access the admin panel...

have you a solution for me ?

thanks

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

14 years 10 months ago [\#31976](#31976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#31976 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

New customers ? Not new orders ?
There is no email sent for new customers.
If he just want to see new customers, he could use that extension:
[ extensions.joomla.org/extensions/clients...ser-management/18248](http://extensions.joomla.org/extensions/clients-a-communities/user-management/18248)
It will enable him to manage the users from the front end.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 10 months ago [\#32056](#32056) by [fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")  Replied by *[fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32056 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Sorry man, new ORDERS...

I would like Hika Shop stop send mail on created order... and if possible i would like to send mail ONLY when the customer pays the product...

can you help me ?

thanks

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

14 years 10 months ago [\#32079](#32079) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32079 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

In the menu System-&gt;Emails (Business edition only) you can unpublish the emails sent by HikaShop and they won't be sent anymore. There you will find that "order creation notification" email which is sent when the order is created.

If you don't want to pay for the Business edition, you can always disable the email by editing the code but you're on your own.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 10 months ago [\#32173](#32173) by [fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")  Replied by *[fabio martinho](/forum/user/4807-fabio-martinho "View fabio martinho's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32173 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

nicolas,

can you tell me where I find the file that I can edit to stop send these mails?
thank you
[]

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

14 years 10 months ago [\#32235](#32235) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32235 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

It's in the file administrator/components/com_hikashop/classes/order.php

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

14 years 10 months ago [\#32308](#32308) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32308 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi Nicolas,

1. Is there a way to only send the order creation emails for direct debit and phone orders only?

2. Is there a way to either:
a) change the colour of the payment options so they stand out
b) move the payment option description after the button, but before the images?

Cheers ![:)](/media/kunena/emoticons/8.png ":)") [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/hs.JPG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/hs.JPG "&#91;img")

- [ ![hs.JPG](/forum/attachment/2215) ](/forum/attachment/2215 "hs.JPG") [ ](/forum/attachment/2215?download=1 "hs.JPG")

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

14 years 10 months ago [\#32339](#32339) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32339 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

1. There is no option for that. You would have to edit the order creation notification email via the menu System-&gt;Emails and add a check to remove the email address of the user based on the payment method. Something like that:

&lt;?php if($data-&gt;order_payement_method=='paypal') $data-&gt;customer-&gt;user_email = ''; ?&gt;

2. Sure you can do that with CSS: .hikashop_payment_methods_table{ color: white !important; }

3. You will need to edit the file "payment" of the view "checkout" via the menu Display-&gt;Views and move the payment method name where you want it: &lt;?php echo $method-&gt;payment_name;?&gt;

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

14 years 10 months ago [\#32358](#32358) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#32358 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Awesome, thanks so much Nicolas ![:)](/media/kunena/emoticons/8.png ":)")

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

12 years 3 months ago [\#164548](#164548) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#164548 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

We are trying to stop the order created emails from being sent, except for direct debit orders. We tried your suggestion above but it is not working. This is what we have found:

But this link has mentioned that a check has to placed in Hikashop &gt; Configuration &gt; Emails &gt; Order Confirmation Email. This order confirmation email in my opinion holds the content of the email and the code which is sending the email is not placed in this file. I have tried to make some changes in the files to place a check on the email so that email should only be sent to the users who place order through Direct Debit but it didnt worked.

Can you please ask the hikashop guys where the mail sending code is present in the files?

Thanks ![:)](/media/kunena/emoticons/8.png ":)")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#164594](#164594) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#164594 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

Thanks to try this code: Code:

if($data-&gt;cart-&gt;order_payment_method != 'direct debit'){ $data-&gt;customer-&gt;user_email = ''; }

You will maybe have to change the "direct debit" name to your real payment method name.

The following user(s) said Thank You: [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")

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

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

Less More

- Posts: 392
- Thank you received: 0
-
-

12 years 3 months ago [\#164914](#164914) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#164914 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

That did the trick, thanks ![:)](/media/kunena/emoticons/8.png ":)")

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

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

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 11 months ago [\#179693](#179693) by [emmarichardson](/forum/user/34984-emmarichardson "View emmarichardson's Profile")  Replied by *[emmarichardson](/forum/user/34984-emmarichardson "View emmarichardson's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#179693 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Which file did you place this in?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#179706](#179706) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#179706 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

As Nicolas wrote 2 years ago

> You would have to edit the **order creation notification** email via the **menu System-&gt;Emails** and add a check to remove the email address of the user based on the payment method. Something like that:
>
> Code:
>
> &lt;?php if($data-&gt;order_payement_method=='paypal') $data-&gt;customer-&gt;user_email = ''; ?&gt;

The email edition is providing by HikaShop business ; otherwise you still can access to the email content using FTP (media/com_hikashop/mail)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 267
- Thank you received: 5
-
-
-
-

10 years 1 month ago -  10 years 1 month ago [\#248756](#248756) by [dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile")  Replied by *[dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile")* on topic *[Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#248756 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi Jerome ,
I want to know if I get emails arrive only when the payment is made , not when the state changes .
Only when pay confirmed.
I not want to send email when payment has been rejected.
In my case I use the payment method servired
thank you very much

Last edit: 10 years 1 month ago by [dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile").

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

10 years 1 month ago [\#248769](#248769) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#248769 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

When the order is created (before the payment) the "order creation notification" email is sent.
When the order is confirmed (after the payment) the "order status notification" email is sent.
If you don't want the first email, then simply disable it in the menu System&gt;Emails of HikaShop.

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

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

Less More

- Posts: 267
- Thank you received: 5
-
-
-
-

10 years 1 month ago [\#248796](#248796) by [dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile")  Replied by *[dvddvd](/forum/user/7721-dvddvd "View dvddvd's Profile")* on topic *[Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#248796 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi nicolas,

Thanks for the explanation. I already understand.

I want not get mail warning that the payment has not been made.
When payment is rejected by the bank.

Only receive email when the collection has made the bank.

Thanks very much, Nicolas

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

10 years 1 month ago [\#248808](#248808) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send mail ONLY on confirmed payment](/forum/4-how-to/31867-send-mail-only-on-confirmed-payment#248808 "hello  I would like to know, how to set on admin panel, that the system sends a mail to client, ONLY JUST when the payment be confirmed. Today, if a client go to checkout, already receive an message... and I dont wanna this.  thx for help")*

Hi,

So you're talking about the emails sent to the merchant ?
In that case, you want to remove the "payment notification" email which is sent by the payment plugin. That can be done by emptying the "payment notification email address" setting of the HikaShop configuration.
And if you want to get an email, as the merchant, when an order is confirmed, edit the "order status notification" email via the menu Display&gt;Emails, and add your email address in the "BCC" field there.

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

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

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

[](#top)
