Skip to content

Commit

Permalink
Merge pull request #375 from 202ecommerce/bugfix/48859-displaying-pay…
Browse files Browse the repository at this point in the history
…ment-options

refs #48859 payment options
  • Loading branch information
bogdan202 authored Dec 2, 2024
2 parents 80bc1d4 + 33e39ed commit 4a016e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public function hookPaymentOptions($params)
if (Module::isEnabled('braintreeofficial') && (int) Configuration::get('BRAINTREEOFFICIAL_ACTIVATE_PAYPAL')) {
return [];
}
if (!$this->context->customer->isLogged() && !$this->context->customer->is_guest) {
if (false === $this->context->customer->isLogged(true)) {
return [];
}

Expand Down

0 comments on commit 4a016e9

Please sign in to comment.