eway rapid plug-in - order cancel email?

  • Posts: 6
  • Thank you received: 0
8 years 9 months ago #228149

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.30

I've updated to 2.6.1 and am testing the eWay Rapid plug-in.
It generally works beautifully but I have a question about notification when a customer decides to hit the cancel button on the payment page (hosted by eway).

at the moment, when someone hits the cancel button on the credit card payment page, they are returned to hikashop, the order is marked as cancelled and the shopping cart is cleared. is there any way of having the plug-in (or hikashop) generate an email to let the customer know the status has changed to cancelled?

currently, the customer would get an email with status "created", then go to payment, cancel the order and (may) wonder why they don't get an email letting them know.

while one solution might be to disable the order creation email, I also allow payments by bank transfer, so I have the orders set to notify on creation. disabling that creation order may not be the best solution (as I need customers to be aware of the bank transfer info).

Thank you so much for any advice you can give.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #228168

Hello,
In your case enabling the "Order status notification" email via "Hikashop->System->Emails" will probably be the best solution.

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

  • Posts: 6
  • Thank you received: 0
8 years 9 months ago #228221

Thanks very much Mohamed.
yes, I have already enabled it - may be a payment plug in issue?

Last edit: 8 years 9 months ago by simonr1000.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 9 months ago #228235

Hi,

It is more an "non feature" than a bug/issue.
By default in the IPN (payment notification), the plugin does not enable the user notification by email.
Only when the payment is confirmed, the notification for the user is requested.

But you can see to edit the eWay rapid plugin and replace that content :

		if(count($errors) == 1 && $errors[0] == 'D4406' && isset($_GET['user_cancel'])) {

		} else {
By
		if(count($errors) == 1 && $errors[0] == 'D4406' && isset($_GET['user_cancel'])) {
			$history->notified = 1; // Notify customer
			$email = true; // Notify administrator
		} else {
To activate the emails (and you can remove one of the lines to not send one of the emails).

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

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

  • Posts: 6
  • Thank you received: 0
8 years 9 months ago #228272

The "non-feature" is perfect and works beautifully.
:-)

Thanks so much Jerome.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum