Stop using created order status

  • Posts: 32
  • Thank you received: 1
3 years 4 months ago #327455

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.4

Hi all.

Is it possible to stop having 'created' orders? Doing a test run I get an email that an order is created, but if I cancel at PayPal it doesn't change to cancelled and there's no email send to say it was cancelled, so i have an email that looks to the customer like the order went through.

I went into Config/System/Emails and unpublished 'order creation', so does that mean customers won't get an email for order created, only order completed? How do I also remove 'created' orders from their records and only show completed or cancelled?

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
3 years 4 months ago #327457

Hi,

You can't stop having created orders. At least not with PayPal standard.
It is necessary to generate the order from the cart content before redirecting to the PayPal payment page.
Otherwise, if we were to create the order after the payment, it would mean that a customer could change something in his cart after the redirection to PayPal, and then, when HikaShop would be notified of the payment, it wouldn't be able to match the content of the cart with what the customer paid.
So the way it works is inherent to how PayPal standard's workflow is done.
If you want the order to be created after the payment to avoid having created orders, it's possible with payment plugins which gather the payment information of the customer during the checkout and process the transaction right after you click the "finish" button. For example, PayPal Pro, or Authorize.net in AIM mode work like that.
So it's not a short coming of HikaShop.

Now, if you click on the "cancel" button on PayPal's payment page, the order will be cancelled.
If that doesn't happen, it means that something was changed in the System>Order statuses menu leading to the system not being able to do it. For example, if you disable all the statuses under the "cancelled" column there, then the order status won't change.

There is no option to have an email sent to the customer when an order is cancelled. However, you can indeed disable the "order creation notification" if you don't want the customer to receive an email when the order is created.

Also, you have the "auto cancel" plugin you can configure in the Joomla plugins manager so that it will, thanks to the cron task, periodically cancel created orders that haven't been paid after a while.

Last edit: 3 years 4 months ago by nicolas.
The following user(s) said Thank You: jeffmcbiscuit

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

  • Posts: 32
  • Thank you received: 1
3 years 4 months ago #327499

OK that's great thanks Nicolas, a lot to unpack there so I'll try what you've suggested. Thanks again for your excellent help!

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

Time to create page: 0.056 seconds
Powered by Kunena Forum