What are all your settings in Admin->Modules->Order Total ?
.
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.
Try this:
edit /includes/modules/payment/paypalwpp.php
around line 519 you have:
change it to:Code:number_format($order_amount, 2),Then do another test transaction.Code:number_format((isset($options['AMT']) ? $options['AMT'] : $order_amount), 2),
I'm stumped about why the order would calculate 0.04 for the details, but then send 0.01 as the final total.
Were you testing any coupons or gift certificates or group discounts in these tests?
.
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.
I noticed that there are couple of lines that contain number_format($order_amount, 2). Other lines include line 515, 579, 675,677,1674. Do I change all or just change the one in line 519 only?
Well, the default currency in my shopping cart has been set to MYR. It is converted to USD when the amount is parsed to paypal. Conversion rate: 0.278 . Would this cause the error?
.
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.
Hi DrByte,
Thanks for your prompt response. Transaction successful.
Your first solution by changing just the line 519 works, but the charges that went through is USD0.04 as compared to if conversion were done on MYR0.04 = USD0.01 .
Although it has resolved and result in successful transaction, but another issue arise, i.e. instead of charging the client USD0.01, now the client is being charges USD0.04 . So is there anyway to resolve this new issue?
Can I have the following situation?
1. My shopping cart to allow the client to choose among 3 currencies, i.e. MYR (primary), SGD and USD for payment.
2. Check out using paypal. For SGD and USD, I believe Paypal has no problem as these two currencies are among those accepted. However for those that is not accepted, i.e. MYR, Paypal will default them to USD.
Can you assist in handling this situation?