Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal Express Checkout support / [Fixed v1.5.0] Payments STD (IPN) issue where order is not received in ZC

[Fixed v1.5.0] Payments STD (IPN) issue where order is not received in ZC

Locked

Started by uneek on 10 Nov 2010, 12:48 AM · Views: 7,491

Results 41 to 42 of 42
This thread is locked. New replies are disabled.
5 Jun 2011, 9:01 PM
#41
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #41 by drbyte

ToniScraparoni:

OTOH, nothing has worked to solve the "freebie breakage" problem, where the order cuts off after a free product has been put into the cart, and anything after the free product never makes it to Paypal, yet it stays on record with Zen - meaning the customer receives goods they didn't pay for.
I think this is fixed here: http://www.zen-cart.com/forum/showthread.php?p=1035155#post1035155
And in v1.5.0

.
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.

6 Aug 2011, 8:41 PM
#42
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #42 by drbyte

ToniScraparoni:

Hi, DrB!

I'm happy to report the incidents of currency mismatches have decreased, though not entirely gone away. It seems they still happen when odd-cent items are on sale and Zen has to round to the penny.

For example, a product selling for $8.95 is on sale at 45% off. Going to four decimal places, the discount is $4.0275, which leaves a net price of $4.9225, and should be rounded to $4.92. Yet, on the mc_gross line item, this particular item is showing as $4.93.

Which would be fine in the grand scheme of things if mc_gross matched converted_amount and order_amount. There, Zen is rounding up even more.

| mc_currency = USD
| submitted_currency = USD
| order_currency = USD
| mc_gross = 33.01
| converted_amount = 33.03
| order_amount = 33.0345

Adding the rounded up individual totals of this order equals $33.01. Any idea where the extra two cents could be coming from?

This is fixed in v1.5.0beta

.
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.