Free product order status set to none

  • Posts: 58
  • Thank you received: 0
9 years 11 months ago #183880

-- HikaShop version -- : 2.3.4
-- HikaMarket version -- : 1.5.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.24
-- Browser(s) name and version -- : Chrome Version 39.0.2171.95 m
-- Error-message(debug-mod must be tuned on) -- : n/a

On my store I have a combination of free and paid products.

When a shopper purchases only a free product the order is created, but the order status is set to none, and therefore no notifications are sent to vendors.
My email settings in market are: Order notification status filter = Payment Confirmed (Confirmed)
(I do not send notifications on order created).

Is there anyway to have orders with free products automatically change status to Payment Confirmed (Confirmed)

Thanks in advance.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 11 months ago #183910

Hi,

Would it be possible to have more details about your website and your HikaShop configuration ?
I need to know how the payment is done when the order is free and if you're using the plugin "valide free order".

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: 58
  • Thank you received: 0
9 years 11 months ago #184075

I use HikaShop Paypal payment plugin for payment, but with a cart with only free products there is no payment option displayed on checkout. I simply click finish and it completes the order.

The shopper gets the Order Created and Confirmed notification emails.

In the back end the order is listed as 'None' for order status.

I have no used "validate free order" plugin, where can I get this?

Thanks,

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 11 months ago #184137

Hi,

Would it be possible to have more details about your website and your HikaShop configuration ?
I need to know how the payment is done when the order is free and if you're using the plugin "valide free order".

Okay, I will reformulate my question : Can you please provide a website url some configuration screenshots (checkout workflow in priority), some screenshot of the issue.

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: 58
  • Thank you received: 0
9 years 10 months ago #186572

Hi,

I have attached a screenshot of the checkout workflow.

My order status that I use are:
Payment Pending (order created)
Payment Confirmed (confirmed)
cancelled
refunded
shipped

I do not wish to notify the Vendor when an order is 'Payment Pending'.
I only wish to notify the Vendor when an order is 'Payment Confirmed'

In HikaMarket config > Email options, I have set Order notification status filter to 'Payment Confirmed' with the email: 'Market: Order status notification' published

In HikShop system > Emails - I have all emails published

Orders with free products:

  • 2 emails are sent to the shopper for 'Payment Pending' and 'Payment Confirmed'
  • No email is sent to the vendor
  • Order status = 'None'


Orders with with products which cost money,
  • an email is sent to the shopper 'Payment Confirmed'
  • An email is sent to the vendor 'Payment Confirmed'
  • Order status = 'Payment Confirmed'


I am using eWay payment method, and Payment of orders not paid immediately = NO
Therefore an order can not be submitted (created) unless payment is successful.

The site is behind a login (so not available to public) but I can provide login for both website and Joomla if required.

Thanks,

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #186640

Hi,

When the order is free ; there is no payment method.
We know that for non-free orders, using the eWay plugin, the system is working fine.

So the product is for the free orders.

Orders with free products:
2 emails are sent to the shopper for 'Payment Pending' and 'Payment Confirmed'
No email is sent to the vendor
Order status = 'None'

You're talking about the "order status" but is that the order status of the main order or of the sub order (the vendor order) ?
Would it be possible to have more details about this free order ; like a screenshot...

In HikaShop there is a plugin called "HikaShop Free orders validation Plugin".
Just go in your Joomla plugin manager, make a search on "free" and you will see it.
I want to know if this plugin is published and if this plugin is configured to send confirmation email.

It will help me to understand what is happening in your website so I could reproduce it in my local website and fix the issue.

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: 58
  • Thank you received: 0
9 years 10 months ago #186645

Hi,

HikaShop Free orders validation Plugin - is published and Send confirmation email is set to YES

Regarding order status, the main order status is set to none, but the vendor order status is confirmed on the free orders.

Attached is a screenshot of the Vendor Order for an order with a free product,

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #186734

Hi,

I will to perform some test using that plugin.
But regarding the code I think that the plugin shouldn't handle the HikaMarket sub orders.
So can you please edit the plugin "plugins/hikashop/validate_free_order/validate_free_order.php" and replace

	function onBeforeOrderCreate(&$order,&$send_email) {
By
	function onBeforeOrderCreate(&$order,&$send_email) {
		if(empty($order) || empty($order->order_type) || $order->order_type != 'sale' || !isset($order->order_full_price))
			return;

And also
	function onAfterOrderCreate(&$order) {
By
	function onAfterOrderCreate(&$order) {
		if(empty($order) || empty($order->order_type) || $order->order_type != 'sale' || !isset($order->order_full_price))
			return;

It should skip the HikaMarket sub orders and I hope that it will fix your issue with free orders.
In the same time, I'll also perform some tests.

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: 58
  • Thank you received: 0
9 years 10 months ago #186960

Hi,

I have made the changes you suggested, but still the same problem.

Thanks,

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #186990

Hi,

Please provide a backend access to your website ; I'll check directly your configuration.
You can use the "contact us" form to send us such private information.

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: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #187477

Hi,

Thanks for the accesses.
I didn't find any specific trouble with the free orders ; I look at the free order you take as sample and there never was a "none" status for the order.
Regarding the order history, the order was created with the "payment pending" status and was then "confirmed" by the plugin.
So I don't understand the issue you're talking about... It does not exist.

But ; what I saw after that is a bit strange.
I saw non-free orders with a "none" status ; I look at the order history and I finally see that the "eWay" payment plugin that you're using was not configured clearly and the "Verified status" was set to "None".
So I change this setting to a more appropriate order status ; which should fix your issue for non-free orders which are using the eWay payment method.

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: 58
  • Thank you received: 0
9 years 10 months ago #187480

Hi,

The actual problem is the email for the order not being sent to the Vendor for free products which initially I thought the problem was associated with the order status being set to none.

I don't think I was clear enough.
My post #186572 is where it is explained a bit more.

Orders with free products:
2 emails are sent to the shopper for 'Payment Pending' and 'Payment Confirmed'
No email is sent to the vendor
Order status = 'None'

But I am expecting the order email to go to the vendor which it is not.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #187592

Hi,

In your HikaMarket configuration, you were using an order status filter for the emails set to a non existing order status.
I changed it so now the "confirmed" order should be sent to the vendor.
But regarding the side effect of the modification of the plugin "validate_free_order" ; I think that you should revert the modifications I gave you.

I am currently performing various tests (in different cases) in order to be sure of what the "validate free order" plugin should do.
But the modifications I gave you are not perfect for every cases ; and the "normal" version of the plugin should work good with a correct order status filter.

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

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

  • Posts: 58
  • Thank you received: 0
9 years 9 months ago #188636

Perfect that has fixed it.
Many thanks.

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

Moderators: Obsidev
Time to create page: 0.069 seconds
Powered by Kunena Forum