Skip to content

Commit

Permalink
Fixed 2 PHPStan warning for Paypal v3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 committed Jun 4, 2024
1 parent 59ce965 commit dcb816c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upload/catalog/controller/extension/payment/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -3778,6 +3778,7 @@ public function callback() {
$order_status_id = 0;
$transaction_status = '';
$payment_method = 'card';
$paypal_order_data = [];

if (!$this->cart->hasShipping()) {
$seller_protection_status = 'NOT_ELIGIBLE';
Expand Down Expand Up @@ -3883,6 +3884,7 @@ public function callback() {
$order_status_id = 0;
$transaction_status = '';
$payment_method = 'card';
$paypal_order_data = [];

if (!$this->cart->hasShipping()) {
$seller_protection_status = 'NOT_ELIGIBLE';
Expand Down

0 comments on commit dcb816c

Please sign in to comment.