[WP Simple Paypal Shopping cart] Paypal : incorrectly formatted item amount…
-
I’m using WP Simple Paypal Shopping cart, everything is fine and plugin implemantion is very easy.
But there is a problem in the Checkout level (Paypal side):
“The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”To enable this we have use Paypal-friendly format and fix 2 decimal points.
Search in wp_shopping_cart.php for :
<input type=\"hidden\" name=\"amount_$count\" value='".$item['price']."' />
And replace it by :
<input type=\"hidden\" name=\"amount_$count\" value='".number_format ($item['price'],2)."' />
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[WP Simple Paypal Shopping cart] Paypal : incorrectly formatted item amount…’ is closed to new replies.