Page 1 of 1

Gift Vouchers ignored by paypal. ugh.

Posted: Fri Apr 06, 2012 12:46 am
by fullphat
Tying to get Gift vouchers working with Paypal Standard, but they're just being completely ignored!

I've tried a few things from around the forum, I can't find a fix for this.

The site in question is http://www.whenskiesaregrey.com/

note: it's live, so be careful of what you buy, you might buy it.

The code to get a discount is VOUCHER and it SHOULD remove £20 from the total, however, if the total of the cart is lower than £20, it takes off the full amount, takes you through to paypal and ignores you!

The shop is running Version 1.5.1.3, I didn't want to update it because it cause alot of problems with another site i'm working on, so i thought it'd be wise to not mess a live site up without a really good reason.

Does anyone know why it doesn't work? Or why Paypal standard just hates it?

I can't activate gift vouchers until is fixed, so as much help as possible would be amazing!

Cheers!

&

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Fri Apr 06, 2012 12:56 am
by Avvici
Just to make sure, have you set the START DATE AND END DATE for the voucher? That is a common mistake. Sometimes the start date is not correct.

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Tue Apr 10, 2012 4:59 pm
by fullphat
@avvici I don't believe you can set dates on Gift Vouchers

I'm honestly, stumped on why the whole thing doesn't deduct correctly, and if it goes below 0, why it ignores it.

If the total goes below 0 on the Opencart side of things, it doesn't NEED to go through to paypal, is there a work around for this? you can't pay for £0.

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Wed Apr 11, 2012 2:28 am
by Avvici
You are correct. I was thinking of coupons:)

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Wed Apr 11, 2012 9:07 pm
by aussiemike
I would like to see a solution to this issue also. It would also be good if the amount deducted was only from the product and not the shipping cost.

Rgeards
Mike

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Sun May 13, 2012 2:40 am
by james_bargainmarket
Step 1: To remove link of checkout from shopping cart popup at top
Change the file in
/public_html/catalog/view/theme/yourtheme(default)/template/module/cart.tpl
Find line46:
<div class="checkout"><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a> | <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Remove
<div class="checkout"><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a> | <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Put it back
Keep backup of original file.

Step2: To change url of the checkout LINK in the header next to shopping cart.
Go and edit file
/public_html/catalog/view/theme/yourtheme(default)/template/common/header.tpl
Open in editor, txt, notwpadc++
Goto line 70
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Change it to
<div class="links"><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a><a href="<?php echo $wishlist; ?>" id="wishlist-total"><?php echo $text_wishlist; ?></a><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_shopping_cart; ?></a><a href="<?php echo $shopping_cart; ?>"><?php echo $text_checkout; ?></a></div>
It is your choice if you want this option in the header and force the user to go through the shopping cart where they will have to put gift voucher and coupons etc.
Hope this resolves the issue of Coupons on checkout. You do not need to install anything, and issues of paypal not accepting your coupons is also resolved. I tried this on Version 1.5.2.1 , do not know about others.

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Sun May 13, 2012 5:21 am
by Qphoria
Paypal doesn't accept 0.00 totals

Plus if the discount is more than the subtotal, there is this old (confirmed by paypal) bug:
http://forum.opencart.com/viewtopic.php ... 11#p266011

Be sure you set the "Total" field in the paypal module to 0.01 so that it isn't shown as an option during checkout if total = 0. Also be sure to enable Free Checkout payment module so that customers can choose that.

Re: Gift Vouchers ignored by paypal. ugh.

Posted: Wed May 16, 2012 12:03 am
by james_bargainmarket
hey Qphoria:

Can you let me know i am using paypal standard module in opencart. How can i do that total amount to be 0.01 for paypal so

'Be sure you set the "Total" field in the paypal module to 0.01 so that it isn't shown as an option during checkout if total = 0. Also be sure to enable Free Checkout payment module so that customers can choose that."

can you explain it reagrds to paypal standard module as well...

thank you man