Order Status set as processing instead of completed when order goes through
-
Hello. My product is a virtual product and I ticked as both virtual and downloadable product. Whenever a customer purchases using paypal or stripe, it sets the order status immediately to completed.
However, when using Yedpay for Woocommerce, it sets the order status to processing rather than completed.This interferes with my custom plugin (which was developed by an outside developer so I do not understand most of it), since it detects whether an order is “Completed” to provide the service.
What I have to do now is once I check an order was made, I have to go into their account (with a view as plugin, I am not able to obtain their password) and make the purchase again with a 100% off coupon code for the product to be viewable for them. (Using a 100% off coupon allows the order status to be “Completed” immediately).
Is there some sort of code I can use to immediately convert the Order Status to “Completed” instead of “Processing”, or is there a plugin which could say, make another purchase under the same name and products but use a coupon code (since the order status will be Completed when using total price is $0 with the help of a 100% off coupon).
- The topic ‘Order Status set as processing instead of completed when order goes through’ is closed to new replies.