Customer Confirmation and Order Created Emails

  • Posts: 82
  • Thank you received: 1
9 years 10 months ago #187234

-- HikaShop version -- : Business : 2.3.4
-- Joomla version -- : 3.3.6

Hello,
I have 2 payments methods enabled : Paypal and Offline.

So a customer makes an order and can choose on these orders.
With Offline Payment, the order gets status Created. In this case it makes sense the customer to receive an email with his order.

With Paypal payment, a customer will reach the Paypal Page to complete the payment, but he might change his mind and cancel the process.
In this case, the customer will still get a confirmation email for the creation of the order - which doesn't make much sense.

What are the available options here, to deal with the above scenario.

Customers with Offline payments receive a confirmation email about the creation of their order.
Customer with Paypal won't receive a confirmation email about the creation of their order if they cancel in Paypal page and don't pay - Only receive a confirmation email if they complete the payment.

Is this somehow possible ? Or is there any other alternative way to handle this ? E.g. to receive an email of order cancelation, if they don't complete the payment.

Thanks

Last edit: 9 years 9 months ago by jmbgreen.

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

  • Posts: 2143
  • Thank you received: 747
9 years 10 months ago #187240

Please look up this thread from two and a half days ago: www.hikashop.com/forum/install-update/87...oose-paypalpage.html


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 2143
  • Thank you received: 747
9 years 10 months ago #187241

(Mysterious double posting... deleted.)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 10 months ago by lousyfool.

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #187242

Hi,

Thanks again lousyfool

I'll complete with some other details.
The paypal plugin require an existing order to perform the payment (an order number and some other elements).
So what I can recommend you is to : (two different solutions)
1/ To put some custom code in the "order_creation_notification" preload email ; thanks to that you can cancel the email when the payment method is paypal.
2/ To use the solution explained in the other thread gave by lousyfool ; unpublishing the "order_creation_notification" email and change the "offline" payment to send a confirmation email (and you can also use a different order status like "pending").

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.
The following user(s) said Thank You: jmbgreen

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #203771

Hi all,

We too would like to be able to do the following :

1) Only send order email to the customer upon "confirmed" status,
or
2) Send email to customer upon "cancelled" status

We only have one (SIPS 2.0) paymend method.

So, the customer should only get the confirmation email after payment, or should get an email that his/her order was cancelled after not completing the payment method.

Also the admin should only get the emails after confirmation of the order, now we get a lot of emails we don't need.

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #203775

Hi,

Simply disable the "order creation notification" and "order admin notification" emails and you'll receive only the emails after the order is confirmed.
For the cancellation, the customer we'll get an email if you activate the user notification when you change the status, so that should not be a problem.

The following user(s) said Thank You: ijsbaanleuven

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #203841

Nicolas,

Thanks for your reply.

Since my posting, I've done a test. At the moment, I (as admin) and the customer are not receiving any confirmation emails ?

Does the customer get an email if the order status is changed automicaly because of not finishing the payment proces (SIPS2.0) ?
As far as my test have been, they do not seem to get an email.
*Off topic*
Upon failure of payment, I get an email (as admin) :
"Hello,
A Atos Sips notification was received with the status Declined. The order status was not changed
Unknow response from Atos Sips
/Atos Sips authorisation Id :
This notification was for the order ..."

But, then the status of the order is changed to cancelled, but no emails are sent.

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #203850

Hi,

When the order is cancelled automatically by the payment plugin for a payment notification, no notification is sent to the customer. It's only sent to the admin.
You would have to add the line:
$history->notified = 1;
before the line:
$this->modifyOrder($order_id, $this->payment_params->invalid_status, $history, $email);
in the file plugins/hikashoppayment/atos/atos.php

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #203933

hi Nicolas,


I tried the code you gave, but nothing happens.
No emails are sent, not to the admin, and not to the customer ?

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #203948

Hi,

Are the orders status changed to "cancelled" automatically after you entered your credit card on the payment gateway ?
When you edit the order, in the history area, you'll get a row for the status change and the reason should be something along those lines: automatic payment notification
If that's not the case, it means that the order was cancelled before the credit card was entered.
In that case, there is no notification email sent as the system directly cancel the order before anything happened when the user click on the link to go back to the checkout in order to select another payment method.

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #204227

Nicolas,

This sounds correct.
My problem is that not the admin and not the customer receive any other emails then the order creation email.
I removed all of my customizations to the emails, updated all the language files, but no success.
Only the order creation comes trough.

In the order creation mail to the admin, the subject is : New order No. J2W03 created on created
In the order creation mail to the customer, the subject is : Your order No. J2W03 is now created at www.ijsbaanle​uven.be/

But other then that, there are no emails sent, not on confirmation, nor cancelling ...


What am I doing wrong ?

Attachments:

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #204273

Hi,

As I explained in my previous message, it's normal that you don't get any email on cancellation of the orders.

So let's recap the issue:
Your issue is actually that orders are not getting confirmed and thus no confirmation email is sent to the customer or the merchant.
Furthermore, you get a payment notification email with the status "declined".
Could you provide the full content of that email ?
It should contain valuable information on the issue.

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #204296

Nicolas,


Ok.

Issue is indeed that no confirmation emails are being sent.

Content of the declined status email :

Hello,
A Atos Sips notification was received with the status Declined. The order status was not changed
Unknow response from Atos Sips

/Atos Sips authorisation Id :

This notification was for the order XXX on the website www.ijsbaanleuven.be/
You can access the order details directly by clicking on the link below after logging in your back end:
www.ijsbaanleuven.be/administrator/index...sk=edit&order_id=xxx

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #204297

Hi,

Could you turn on the "debug" option of the payment method, do another test, and provide the payment log (that you can find in the Files section of the HikaShop configuration (you can send it to contact at hikashop dot com with a link to this thread) ?

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

  • Posts: 72
  • Thank you received: 2
9 years 5 months ago #204316

Nioclas,


Mail has been sent.

Also the payment accepted notification says :

Hello,
A Atos Sips notification was received with the status Accepted. The order status was not changed
Response from Atos Sips Transaction approved or processed successfully

/Atos Sips authorisation Id :xxxxxx

This notification was for the order xxxx on the website www.ijsbaanleuven.be/
You can access the order details directly by clicking on the link below after logging in your back end:
www.ijsbaanleuven.be/administrator/index...k=edit&order_id=xxxx

The following user(s) said Thank You: Philip

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

  • Posts: 4753
  • Thank you received: 644
  • MODERATOR
9 years 5 months ago #204340

Thanks for your feedback this issue is solved!
We patched the Atos Sips plugin which will be more efficient thanks to you!

Regards.

Last edit: 9 years 5 months ago by Philip.

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

Time to create page: 0.105 seconds
Powered by Kunena Forum