Resume failed orders

This commit is contained in:
Mike Jolley 2013-02-14 15:37:05 +00:00
parent 52f4e66942
commit a0393f3a52
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class WC_Checkout {
$order_status = isset( $terms[0] ) ? $terms[0] : 'pending'; $order_status = isset( $terms[0] ) ? $terms[0] : 'pending';
// Resume the unpaid order if its pending // Resume the unpaid order if its pending
if ( $order_status == 'pending' ) { if ( $order_status == 'pending' || $order_status == 'failed' ) {
// Update the existing order as we are resuming it // Update the existing order as we are resuming it
$create_new_order = false; $create_new_order = false;