Author Topic: How to process orders free 100% off coupon  (Read 524 times)

ch1vph

  • Beginner
  • *
  • Posts: 38
  • A beginner
How to process orders free 100% off coupon
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1669
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: How to process orders free 100% off coupon
« Reply #1 on: January 09, 2018, 14:28:55 pm »
Add the standard payment. Then You can set whatever You want.

regards

Jörgen @ Kreativ Fotografi :-[
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3335
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: How to process orders free 100% off coupon
« Reply #2 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

ch1vph

  • Beginner
  • *
  • Posts: 38
  • A beginner
Re: How to process orders free 100% off coupon
« Reply #3 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....

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1669
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: How to process orders free 100% off coupon
« Reply #4 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
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3335
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: How to process orders free 100% off coupon
« Reply #5 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.