Using $order->payment_complete($transaction_id) instead of update_post_meta...
valmedia opened this issue · 1 comments
valmedia commented
Hi,
Using $order->payment_complete($transaction_id) is the correct way to to set an order to "processing" and reduce stock. This will make it more compatible with Woocommerce and other plugins.
Might have miss some but these should be updated to using $order->payment_complete($transaction_id).
Thanks
valmedia commented
Hi, any update on fixing your plugin with this?