Nikhil Vishwanath
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Fatal error: Unsupported operand typeHi,
Thank you for the prompt response on this topic.
We had to deactivate the plugin on our site temporarily due to the critical error which is why you are not able to see any issues at the moment.
Thanks for also linking the Stripe docs for subscriptions. We have more than one subscription product and different plans which is why we have opted to use WooCommerce.
As you mentioned, we will contact the Custom Price for WooCommerce plugin support to help us with this issue.
Just wanted to put this here in case you guys had any familiarity with this kind of issue.
Thanks
Nevermind, I was able to debug the issue with the default location and tweaking the priorities field.
Hi Farhad,
I checked the stock location selection after the plugin update, but it is still not working as mentioned in the plugin.
The plugin states that the location with the highest priority will be selected but in my case, I have three locations with priorities 10, 20 and 30 respectively.
The location with priority 10 gets selected by default and then when the stock is empty it moves to the next with priority 30.
This logic is still not following the order of highest number 30 > 20 > 10
Sorry to keep bringing this up again but can you please look into this issue as this is a very big part of our overall process?
Thanks,
NikhilHi Farhad,
Just wanted to follow-up on this. Is the issue resolved on your end after making the changes?
If so then do let me know about the update.
Thanks.
Thank you
Currently, there is no default location set on our side. So I considered that the priority-based logic should work.
Otherwise, as you mentioned, we can force the script to look for the priority instead of default.
- This reply was modified 3 years, 5 months ago by Nikhil Vishwanath.
In our case, the stock quantities and stock locations are automatically updated through an external API so it is not useful in our case to manually set a default stock location.
I will check our backend to see if we can set the default location and let you know. But we would like if the priority based selection works automatically.
Thanks for checking it. Please let me know once you have tested this scenario.
- This reply was modified 3 years, 5 months ago by Nikhil Vishwanath.
The stock location is not selected by the user.
As per my understanding, the location is automatically selected based on the priority that I set correct?
The product has total 15 stock quantity that is divided into three stock locations (5 quantity in each).
The test scenario that I gave before was for checking if the automatic location selection works based on priority. Which is why I selected 8 quantities.
Hi,
Correct the stocks are reduced automatically.
My issue here is that, the location priority logic is not working properly.
I have three locations with 5 stock quantities in each location. I have set the priority number to 10, 20 and 30 for each location. I place an order with 8 product quantities.
According to the plugin logic, the stock should be reduced from priority 30, then priority 20 and then priority 10 right?
But in my case the stocks are reduced from priority 10 then priority 30. This is not making any sense in my backend logic that I am trying to apply in my custom function.
Can you please help me with this?
Thank you.
Hello Farhad,
Thank you for looking into this. Do you have any updates on this issue?
Thanks.
Hi,
Just following up on this issue.
Any response on this?
Hi Ivan,
This issue seems to have been resolved after using the premium version of this plugin.
Thanks for responding on this topic nonetheless.