Send order email to supplier AFTER payment confirm

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
11 years 8 months ago #98419

We've got a pretty basic HS configuration (HS 2.1.1).

We just want a full order detail notice to be sent to the site manager and our distributor, but we want that to be sent AFTER the payment has been confirmed (in this case, Authorize.net).

We were able to get the order notification sent (Order Creation Notification in setup), but the payment isn't always confirmed at that point.
We've tried using the 'Payment notifications email address' option but that just sends something that says:

"This notification was for the order #### on the webiste ...."

We really just need to know where to edit this email and potentially the code/variables to insert to get it to display the complete order (like the order notification does).

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 8 months ago #98559

That is done in the authorize.net plugin file but that's quite complex to do.
An easier method is to simply send the order status notification:
www.hikashop.com/en/forum/4-how-to/23622...le-people.html#23627

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

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
11 years 8 months ago #98966

Should that order status reply be sent automatically after the order is marked paid/confirmed by Authorize.net?

We're getting the "Authorize.net payment notification" automatically sent, but the order status confirmation email is not being sent.
It only appears to be sent when we manually change the order status.

We just need to have a copy of the full order emailed to a set email address AFTER the order is confirmed.
We can't be the only one that needs this, and I'm guessing I'm just missing something somewhere.
Any help would be greatly appreciated. (We've been trying to get this to work for weeks now.)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #99157

Hi,

In the options of the authorize.net method, do you have set "Verified status" to "confirmed" ?
The email should be sent automatically after the order status is changed.

Before the payment method, the order status is set to "created" and after, depending on the previous option the status change to confirmed.
Then a mail is sent, the mail "order status notification".

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

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
11 years 8 months ago #99195

Yes, the status gets changed to confirmed, and we get a notification from the system "Authorize.net payment notification : payment Accepted for order no. ####", but we're still not getting a copy of the order status change notice.

So it appears that for some reason, the order status change isn't triggering the email sending.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 8 months ago #99457

The email is triggered automatically when the status is changed.
If you don't get the email, it means that the modification proposed in the other thread was not done properly OR that your email server is blocking that email for whatever reason. So You could ask your hosting company if they have any error logged for that email on their email server.

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

  • Posts: 195
  • Thank you received: 5
  • Hikashop Business
11 years 8 months ago #99464

Just checked the logs and no errors (and all other emails are going out fine).
So it must be in the code.

I'll post follow-up on the original (other) topic.

Thanks.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum