Skip to content

Commit

Permalink
remove status change (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-zaprite authored Dec 20, 2023
1 parent 94ab079 commit 82ae687
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin/zaprite.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ function zaprite_server_add_update_status_callback($data)
$order->save();
}
if ( !$order->has_status( 'completed' ) ) {
$order->update_status('processing', 'Order status updated via API.', true);
$order->add_order_note('Payment is settled.');
$order->payment_complete();
$order->save();
Expand Down

0 comments on commit 82ae687

Please sign in to comment.