Skip to content

Commit

Permalink
Merge pull request #305 from 202ecommerce/feature/44080-cancel_order_…
Browse files Browse the repository at this point in the history
…action

refs #44080 cancel order action
  • Loading branch information
bogdan202 authored Jan 29, 2024
2 parents c060ef6 + d3a8557 commit c706bef
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 c706bef

Please sign in to comment.