omise/omise-woocommerce

charge.complete event with status "failed" should not update completed orders

Closed this issue · 1 comments

When a customer tries to pay using internet banking and does not complete the process, but created a new charge (using any method) successfully.
The order will be marked as completed when the second charge is successful, but when the first charge is timed out. The event charge.complete will be fired and the order will be marked as failed

The charge.complete event handler should check whether the order is already completed before updating the order as failed

@guzzilar is this issue still relevant after the recent v3.4 release?