News:

Looking for documentation? Take a look on our wiki

Main Menu

help with coupon use and zero priced cart

Started by sickenlysweete, August 03, 2014, 04:44:03 AM

Previous topic - Next topic

sickenlysweete

after a coupon has been used and the cart price is zero, how do i get it to finish and confirm payment and redirect back to the site
rather than just being stuck on the paypal payment page?
because of course no payment is needed with a zero priced cart.
what settings need to be changed and to what?
thanks
ss

sickenlysweete

i need it to confirm the order when a cart price is zero. and not go to the payment method of paypal page.

seyi

You would have to setup a different payment for 0 cart total:
- Payment 1: paypal, and set Minimum amount to 0.01
- Payment 2: Free Order, and set Maximum amount to 0.01

Then when the order total is 0, only the Free order payment should show.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

sickenlysweete

thank you for the reply
what kind of payment method should i use for zero?
anouther paypal one? need more info to set it up
thankyou

seyi

No, not paypal again.  Just select 'VM Payment - Standard' for the free option.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

sickenlysweete

ok did that, and now when i hit the final confirm payment button
i get a blank page that says
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 1966080 bytes) in  visionsonline/libraries/tcpdf/tcpdf.php on line 23580

what does this mean and how can i fix it??

thanks
ss

seyi

In the creation of your pdf invoice this error was thrown.  You just ran out of memory.  Increase your memory limit to at least 64megs and that error should go away.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

sickenlysweete

thank you now i'll just have to get my host server to increase that memory limit.