Skip to content

Commit

Permalink
refs #44080 cancel order action
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan202 committed Jan 23, 2024
1 parent c060ef6 commit d3a8557
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2053,10 +2053,6 @@ public function hookActionOrderStatusUpdate(&$params)
return true;
}

if ($orderPayPal->method != 'EC') {
return true;
}

$paypalCapture = PaypalCapture::loadByOrderPayPalId($orderPayPal->id);

//If a payment is already captured, so need to refund firstly
Expand Down

0 comments on commit d3a8557

Please sign in to comment.