Hi,
Can you please tell me more details about it?
In theory, when the user is at the checkout page and types something wrong, the order should not be created. All the errors should be displayed so he is able to fix it and continue the purchase.
Hi. This is a difficult one to explain.
One question that I have, is when the multi-order function starts should the sub orders always start at 1?
Example:
ORDER NUMBER-SUB#
2799-1
2799-2
2799-3
until it goes through the entire order?
If that is the case, the orders that I have issues with only have 5-6 items in the main order but the sub orders are showing up with -30 something.
Here is a screenshot of an order:
https://www.grayareatechsolutions.com/wp-content/uploads/2018/09/Screen-Shot-2018-09-26-at-11.44.13-PM.png
The order number is 2799. It only contains 4 products ordered, yet the sub order – numbers are in the 20s and 30s.
When I export using the other plugin, I get multiple sub orders for each product that shouldn’t be there.
Here is a link to the screen shot in the spreadsheet that the export plugin creates. This export is for only one of the products in that main order. The spreadsheet shows 8 suborders when in theory it should only show 1.
https://www.grayareatechsolutions.com/wp-content/uploads/2018/09/Screen-Shot-2018-09-26-at-11.40.20-PM.png
This creates issues when I do the export because It looks as tho someone made multiple orders when in fact they only made one. The only orders that do this are ones that have an error when an order is made.
Hum, this is really weird.
What kind of mistakes do you think users are doing wrong?
Maybe forgetting about some required field. I don’t know.
Do you have any log file I can take a look too?
Here is the log file for the charge for that order and a link to the order notes.
09-23-2018 @ 16:30:45 – Info: Begin processing payment for order 2799 for the amount of 22.00
09-23-2018 @ 16:30:45 – Error: Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)
)
09-23-2018 @ 16:31:36 - Info: Begin processing payment for order 2799 for the amount of 22.00
09-23-2018 @ 16:31:37 - Error: Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)
)
09-23-2018 @ 16:32:32 - Info: Begin processing payment for order 2799 for the amount of 22.00
09-23-2018 @ 16:32:33 - Error: Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)
)
09-23-2018 @ 16:45:11 - Info: Begin processing payment for order 2799 for the amount of 22.00
09-23-2018 @ 16:45:12 - Error: Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)
)
09-23-2018 @ 17:14:33 - Info: Begin processing payment for order 2799 for the amount of 22.00
09-23-2018 @ 17:14:33 - Error: Array
(
[0] => stdClass Object
(
[category] => INVALID_REQUEST_ERROR
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Missing required parameter.
[field] => card_nonce
)
)
https://www.grayareatechsolutions.com/wp-content/uploads/2018/09/Screen-Shot-2018-09-27-at-7.22.20-PM.png
Hi,
Probably you you are using WooCommerce Square plugin, right?
I was searching for this error and it seems it’s a Square plugin related error.
Can you please try to do what @jkeysemg suggests?
Just a followup, what fixed it was to disconnect square, log into square in the same browser, connect square in wordpress and ensure there is a test product of at least $1. Worked.
https://wordpress.org/support/topic/square-payment-error/
I am actually using this one Woosquare Payment.
I can try to re-link the account again & check it, but I had the same problem when a customer’s order got rejected due to the wrong CVV code being inputted, so I am not so certain that it will be fixed with re linking the account.
https://www.grayareatechsolutions.com/wp-content/uploads/2018/10/Screen-Shot-2018-10-01-at-11.36.55-PM.png
I just updated the plugin to version 1.1.0, it should be available in no time.
Please try to update it.
I believe it should prevent the duplicated suborders issue you mentioned.
But anyway I think you should look into the Square error as well.
Hi Pablo,
The error keeps returning this error every 10 minutes in the error log:
Uncaught Error: Call to undefined method WC_Order_Refund::get_order_number() in /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-content/plugins/multi-order-for-woocommerce-pro/classes/multiorder/class-alg-mowc-pro-order-manager.php:1173
Stack trace:
#0 /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-content/plugins/multi-order-for-woocommerce-pro/classes/multiorder/class-alg-mowc-pro-order-manager.php(545): Alg_MOWC_Pro_Order_Manager->create_suborders(18072)
#1 /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-includes/class-wp-hook.php(286): Alg_MOWC_Pro_Order_Manager->create_suborders_call_on_new_order_item(42447, Object(WC_Order_Item_Product), 18072)
#2 /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /srv/bindings/029ee8356965427989acb357b41bf4fb/code/wp-content/plugins/woocomme
Any idea what it refers to? How can we solve it?
Thanks in advance!
Hi @karzin
I’m also facing this error:
Uncaught Error: Call to undefined method WC_Order_Refund::get_order_number() in /wp-content/plugins/multi-order-for-woocommerce-pro/classes/multiorder/class-alg-mowc-pro-order-manager.php
I searched for that method in the WC_Order_Refund class and indeed, it doesn’t exist, could you help us by fixing it? Or could you share the repo URL so I can create a pull request with the fix?
Thanks a lot.
Hello,
Thanks for letting me know.
Please try the new 1.1.8 version I’ve just released.
I believe I was able to fix it