Skip to content

Commit

Permalink
Renaming the meta
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrosa committed Sep 19, 2024
1 parent 68982cf commit a782a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-stripe-webhook-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function process_webhook_dispute_closed( $notification ) {
$order->update_meta_data( '_stripe_status_final', true );

// Mark the dispute status.
$order->update_meta_data( 'dispute_status', $status );
$order->update_meta_data( '_dispute_closed_status', $status );

// Fail order if dispute is lost, or else revert to pre-dispute status.
$order_status = 'lost' === $status ? 'failed' : $this->get_stripe_order_status_before_hold( $order );
Expand Down

0 comments on commit a782a51

Please sign in to comment.