Send mail ONLY on confirmed payment

  • Posts: 23
  • Thank you received: 0
12 years 10 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #31893

Hi,

In the menu System->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 or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
12 years 10 months ago #31963

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 or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #31976

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
It will enable him to manage the users from the front end.

Please Log in or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
12 years 10 months ago #32056

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 or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #32079

Hi,

In the menu System->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 or Create an account to join the conversation.

  • Posts: 23
  • Thank you received: 0
12 years 10 months ago #32173

nicolas,

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

Please Log in or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #32235

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

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #32308

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 :)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #32339

Hi,

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

<?php if($data->order_payement_method=='paypal') $data->customer->user_email = ''; ?>

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->Views and move the payment method name where you want it: <?php echo $method->payment_name;?>

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
12 years 10 months ago #32358

Awesome, thanks so much Nicolas :)

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
10 years 3 months ago #164548

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 > Configuration > Emails > 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 :)

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 3 months ago #164594

Hi,

Thanks to try this code:

if($data->cart->order_payment_method != 'direct debit'){
    $data->customer->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

Please Log in or Create an account to join the conversation.

  • Posts: 392
  • Thank you received: 0
10 years 3 months ago #164914

That did the trick, thanks :)

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
9 years 11 months ago #179693

Which file did you place this in?

Please Log in or Create an account to join the conversation.

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
9 years 11 months ago #179706

Hi,

As Nicolas wrote 2 years ago

You would have to edit the order creation notification email via the menu System->Emails and add a check to remove the email address of the user based on the payment method. Something like that:

<?php if($data->order_payement_method=='paypal') $data->customer->user_email = ''; ?>

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 267
  • Thank you received: 5
8 years 2 months ago #248756

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: 8 years 2 months ago by dvddvd.

Please Log in or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 2 months ago #248769

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>Emails of HikaShop.

Please Log in or Create an account to join the conversation.

  • Posts: 267
  • Thank you received: 5
8 years 2 months ago #248796

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 or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 2 months ago #248808

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>Emails, and add your email address in the "BCC" field there.

The following user(s) said Thank You: dvddvd

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum