eCommerce construction > Installation and Configuration
papal as payment when customer is checking out as logged in
(1/1)
AERO3ds:
How to enable PayPal as payment when customer is checking out as logged in.
Thanks,
Oleg
abolabo:
you can modify storefront model file of any payment and add
--- Code: --- if(!$this->customer->isLogged()){
return [];
}
--- End code ---
at the beginning of method getMethod
In your case public_html/extensions/default_pp_standart/storefront/model/extension/default_pp_standart.php:31
AERO3ds:
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
Basara:
--- Quote from: AERO3ds on September 06, 2021, 09:09:26 AM ---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.
--- End quote ---
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
AERO3ds:
I had a $100 max limit, deleted the limited and that fixed the issue. Thanks
Navigation
[0] Message Index
Go to full version