AbanteCart Community
eCommerce construction => Installation and Configuration => Topic started by: AERO3ds on September 05, 2021, 03:46:42 PM
-
How to enable PayPal as payment when customer is checking out as logged in.
Thanks,
Oleg
-
you can modify storefront model file of any payment and add
if(!$this->customer->isLogged()){
return [];
}
at the beginning of method getMethod
In your case public_html/extensions/default_pp_standart/storefront/model/extension/default_pp_standart.php:31
-
After doing more bug testing I found that papal as payment method is available as long as the sub total is below $100. After $100 total free shipping goes into effect and pay-pal as payment option is disappears.
In Free shipping extension all pay-pal extensions are selected as payment option.
At the payment.php could you help where to put this code if that's still the case.
if (!$this->customer->isLogged()) {
$this->session->data['redirect'] = $this->html->getSecureURL($checkout_rt);
redirect($this->html->getSecureURL($login_rt));
}
Any help appreciated,
Oleg
-
After doing more bug testing I found that papal as payment method is available as long as the sub total is below $100. After $100 total free shipping goes into effect and pay-pal as payment option is disappears.
Check your shipping methods and remove any payment limitations, check the PayPal extension setting and remove the totals limit.
https://abantecart.atlassian.net/wiki/spaces/A2UM/pages/491913989/No+payment+at+checkout
-
I had a $100 max limit, deleted the limited and that fixed the issue. Thanks