VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: ch1vph on January 09, 2018, 13:47:30 PM

Title: How to process orders free 100% off coupon
Post by: ch1vph on January 09, 2018, 13:47:30 PM
Hi there,

I have a issue trying to get a coupon code for 100% off my products prices - This is so that our PR company can order products for free, and in turn we get an email and the inventory updates itself!!

The problem is that PayPal and my merchant 2Checkout cannot process £0.00 or negative amounts....So I need a method to processes orders for free £0.00 without going through the payment process?

Any advise is welcome.


VirtueMart 3.2.4
Joomla! 3.8.1
PHP Version 5.6.32
Title: Re: How to process orders free 100% off coupon
Post by: Jörgen on January 09, 2018, 14:28:55 PM
Add the standard payment. Then You can set whatever You want.

regards

Jörgen @ Kreativ Fotografi :-[
Title: Re: How to process orders free 100% off coupon
Post by: Studio 42 on January 09, 2018, 17:33:48 PM
standard payment. and use max price = 0,001, so paid order cannot use this payment and is not displayed
Title: Re: How to process orders free 100% off coupon
Post by: ch1vph on January 12, 2018, 11:30:52 AM
OK Thanks all, that's the method I couldn't see to do many thanks!

Only problem I have now is when a User is logged in the option to 'ship to a different address' make the page just refresh when trying to confirm an order?

Also after I a) setup payment type to standard  b) set order status to confirmed  c) put maximum order total to 0.001

I then set the minimum order total to £0.01 for my other payment methods, so that they did not show when the order total is £0 BUT WHEN I DO THIS FOR MY 2CO CREDIT CARD PAYMENTS IT STILL SHOW UP??

Anyone had this prob b4 or any ideas....
Title: Re: How to process orders free 100% off coupon
Post by: Jörgen on January 12, 2018, 12:49:56 PM
If the others do not show, the check with 2CO payments. Test with a higher value (1.0) and see if it reacts, It could be some kind of rounding issue with 2CO.

regards

Jörgen @ Kreativ Fotografi
Title: Re: How to process orders free 100% off coupon
Post by: Studio 42 on January 12, 2018, 15:23:57 PM
Check with the dev of  2CO, if this is displayed, certainly they dont check about this value correctly.