PayPal Not Passing Amount For Donation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use a code similar to the following:
<form id="paypal-form" type="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="notify_url" value="https://web.com">
<input type="hidden" name="amount" value="0.00" id="paypal-form-price">
<input type="hidden" name="business" id="paypal-form-email">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="item_number" id="paypal-form-number">
<input type="hidden" name="return" id="paypal-form-return">
<input type="hidden" name="cancel_return" value="https://web.com">
<input type="hidden" name="item_name" id="paypal-form-package" value="PVP">
</form>
Everything worked perfectly to this day. Stopped working: <input type = "hidden" name = "cmd" value = "_ donations" />
Since when the paypal page was opened to process the payment, the value that appears is € 0.00. However if I use: _xclick the value gets it correctly.
I have seen it happening on other platforms similar to mine. I wonder if Paypal has changed the value to send the amount of money or if it is a specific failure or something similar.
Thanks a lot!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- SOAP Error - CreateRecurringPaymentsProfileResponseType returns ACK => NULL in NVP/SOAP APIs
- How to pass "amount" using @paypal/react-paypal-js in REST APIs
- Let user pick their own own subscription pricing and period? in SDKs
- Recurring payments for cart with multiple individually subscribable items? in PayPal Payments Standard
- Shouldn’t have to edit all my images just to sell on PayPal! in PayPal Payments Standard