Can you show me screenshots of your Downloads > Settings > Payment Gateways?
Hi Pippin,
Screenshot is here for you to look at.
Thanks
I just pushed out an update for 1.9.3 that should fix the issue.
Hi Pippin,
I have updated the plugin, but unfortunatley this doens’t seem to have done it π
Still get the PayPal error “The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
Have tried logged in via Dashboard, and logged out.
Free downloads are processing, just not the paid ones.
Let me know if I can give you anything else to work with.
Thanks
Do you have taxes enabled?
Does the error go away if you disable taxes?
Yes it does go away when I disable taxes
(hope this helps…?)
Are you comfortable editing a file and doing a test for me?
Sure thing – let me know what you want done
Open wp-content/plugins/easy-digital-downloads/includes/gateways/paypal-standard.php and add this to line 144:
echo '<pre>'; print_r( $paypal_args ); echo '</pre>'; exit;
Once you do that, do a test purchase and then tell me what is printed to the screen. Note, it will not go to PayPal, it will just display a print out of the purchase data that is getting sent to PayPal.
Hi Pippin,
Please see below (I have removed info with the name of the site so that this doesn’t come up in Google results! – if you need anything I have removed, please let me know)
Array
(
[cmd] => _cart
[upload] => 1
[business] => **REMOVED**
[email] => **REMOVED**
[invoice] => e6dd09889b26e1dc8a8d11012f808b24
[no_shipping] => 1
[shipping] => 0
[no_note] => 1
[currency_code] => NZD
[charset] => UTF-8
[custom] => 838
[rm] => 2
[return] => **REMOVED**
[cancel_return] => **REMOVED**
[notify_url] => **REMOVED**
[page_style] =>
[cbt] => **REMOVED**
[item_name_1] => **REMOVED**
[quantity_1] => 1
[amount_1] => 8.6521739130435
[tax_cart] => 1.3
)
Ok I see the issue and will push out an update to fix that shortly.
Could you manually apply this patch (and remove the code I asked you to put in earlier) and tell me if that fixes it? https://github.com/easydigitaldownloads/Easy-Digital-Downloads/commit/9dfd569ffe68f4cc6ca91745f08bbcaad0cbd1e7
Yes! Thank you this fixes it π
Goes through to PayPal now.
Thanks for your help!