VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Il_maca on June 22, 2016, 18:59:00 PM

Title: Skip Paypal payment when billtotal equals 0 - Joomla 3.5 and Virtuemart 3.0
Post by: Il_maca on June 22, 2016, 18:59:00 PM
Hi, I add a custom discount "   DATaxBill", and this value can be 100%.
Result: billtotal sometimes is 0.
So, i'm using paypal express checkout to get payments. Can i skip payment when total amount is 0?
I had read some solutions in the web, but they are for virtuemart 2... the code is a bit different.
I can't accept free payment for value less of 1€. I have tried to set min amount of 0.01... but without success...

How can I do?
I had try to edit plugin... Skip payment, but doesn't set cart... and I get some annoying visual errors...


I don't want to use an edited paypal plugin... and I don't want to make a custom paypal payment plugin...
There is a solution?

Title: Re: Skip Paypal payment when billtotal equals 0 - Joomla 3.5 and Virtuemart 3.0
Post by: Studio 42 on June 23, 2016, 14:01:24 PM
Hi,
Add a new "standard paiment" and set it to Maximum Amount to 0.01
and for paypal Minimum Amount to 0.01