PayPal IPN
PayPal IPN
Seems it will work if you have shoppers that use multiple windows to shop so they don't have to flip back and forth looking for something....
If you open your browser and log into the store and then open another browser window. Add you contents to one cart, plus the coupon and check out and then do the same with the other, it will work.
This was discovered by a friend who had it happen to her over 2 years ago. I just tested it and it worked for me.
Not sure if there is a way to fix that though. LOL
Just a hunch ...
Try making this edit:
/includes/classes/order_total.php
at line 196 you have:Replace that one line which says:Code:// Called in checkout process to clear session variables created by each credit class module. // function clear_posts() { global $_POST; if (MODULE_ORDER_TOTAL_INSTALLED) { reset($this->modules); while (list(, $value) = each($this->modules)) { $class = substr($value, 0, strrpos($value, '.')); if ( $GLOBALS[$class]->credit_class ) { $_SESSION[$post_var] = 'c_' . $GLOBALS[$class]->code; } } } }with this instead:Code:$_SESSION[$post_var] = 'c_' . $GLOBALS[$class]->code;Code:$GLOBALS[$class]->clear_posts();
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks so much!! Really appreciate your help with this! :)
Are you saying that making that change has fixed the problem ?
(Just wanna be sure I'm understanding your response correctly)
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Yes, it seems to have fixed the problem. I have tested it and it would not allow me to use the coupon again.
Many thanks!!
OK, I made that line change, and while it does keep me from using the same code again, it won't let the order go through. I am getting the following error:
Fatal error: Call to undefined function: clear_posts() in /home/molli102/public_html/ZenCart/includes/classes/order_total.php on line 205
What version are you running? I have 1.3.6. I didn't do the upgrade. Perhaps that makes a difference??? I tried running mine through and it takes me to paypal no problem.
OK, it doesn't do it if there is still a balance after the coupon is applied. I only get this error if the gift certificate covers the cost of the purchase and there is a $0 balance. It's like it doesn't know where to go from there.
The order does actully go through. I got the order confirmation email, and the order and download links show up under my account. That would be super confusing for customers!
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks