blank orders being generated in WooCommerce with no details and a pending payment status,
i am using woocommerce plugin and elavon payment getaway
everything setup is ok but the order are automatic generated !
every second the blank orders are generated
Please guide how do i fix the issue
2
Answers
I found that the code in src/abstract-wc-gateway-elavon-converge.php specifically function get_order_for_add_payment_method() creates a new order if the user is logged in. So as a patch, I just commented out these lines (434-437), and it seemed to work fine without that function. It could affect the functionality if you are saving payment methods, but I have disabled that functionality in settings.
—> This is where the blank orders get created (class-sv-wc-payment-gateway-direct.php
Hope this helps.
This is also an issue with the Braintree for WooCommerce Payment Gateway. I have mentioned this in the WordPress forums here: https://wordpress.org/support/topic/blank-orders-being-created/#new-topic-0
Thanks for the lead, I hope it’s addressed soon!