Page 1 of 1

100% discount is not transferred to paypal standard

Posted: Thu Dec 08, 2011 2:01 am
by t556
Occasionally I do raffles and give someone a coupon code to allow them to get a free product from my site. The cart will show a total of $0.00 but it still brings up the paypal page and shows the full original amount. Other coupons work without a problem (fixed and percentage as long as they don't result in a 0 total). I've tried all of the fixes for coupon issues I could find on there but it still does not fix the issue.

Any thoughts?

Thanks

Re: 100% discount is not transferred to paypal standard

Posted: Fri Dec 09, 2011 1:48 am
by uksitebuilder
You can hide the paypal option if the total is zero

catalog/model/payment/pp_standard.php or any other payment module will be similar

find code similar to

Code: Select all

if ($this->config->get('pp_standard_total') > $total) {
extend the code

Code: Select all

if ($this->config->get('pp_standard_total') > $total || $total < 0.01) {
You must also have 'Free Checkout' enabled in admin