I'm getting this error on paypal using the donations module and 6-2dev.

However, when I go back to the alpha everything works fine.

Comments

According to google, this error message is normally caused by paypal, and depends on the browser (well cookies) present when the user is sent to paypal.

I've tried emptying my caches and I disabled boost for that page.

I've attached the full html of the button in dev 2x vs. alpha 2 and I've put the differences first.

---differences----
working version
<input type="hidden" name="custom" id="edit-custom" value="0"  />
broken version
<input type="hidden" name="custom" id="edit-custom" value="a:2:{s:6:&quot;module&quot;;s:23:&quot;LM_PAYPAL_SUBSCRIPTIONS&quot;;s:3:&quot;uid&quot;;i:0;}"  />
working version
<input type="hidden" name="return" id="edit-return" value="http://www.d.org/publish/payment/%252Fstatus"  />
broken version
<input type="hidden" name="return" id="edit-return" value="http://www.d.org/content/donate"  />
<input type="hidden" name="return" id="edit-cancel-url" value="http://www.d.org/content/donate"  />
----- full code -----
Broken version
<form action="https://www.paypal.com/cgi-bin/webscr"  accept-charset="UTF-8" method="post" id="lm-paypal-api-payment-form">
<div><input type="hidden" name="business" id="edit-business" value="d@d.org"  />
<input type="hidden" name="cmd" id="edit-cmd" value="_xclick "  />
<input type="hidden" name="item_name" id="edit-item-name" value="d"  />
<input type="hidden" name="item_number" id="edit-item-number" value="0"  />
<input type="hidden" name="no_shipping" id="edit-no-shipping" value="1"  />
<input type="hidden" name="return" id="edit-return" value="http://www.d.org/content/donate"  />
<input type="hidden" name="return" id="edit-cancel-url" value="http://www.d.org/content/donate"  />
<input type="hidden" name="currency_code" id="edit-currency-code" value="EUR"  />
<div class="form-item" id="edit-amount-wrapper">
<label for="edit-amount">Select amount: </label>
<select name="amount" class="form-select" id="edit-amount" ><option value="25">25</option><option value="50" selected="selected">50</option><option value="100">100</option><option value="500">500</option></select>
<div class="description">Value is Euro</div>
</div>
<input type="hidden" name="notify_url" id="edit-notify-url" value="http://www.d.org/lm_paypal/ipn"  />
<input type="hidden" name="custom" id="edit-custom" value="a:2:{s:6:&quot;module&quot;;s:23:&quot;LM_PAYPAL_SUBSCRIPTIONS&quot;;s:3:&quot;uid&quot;;i:0;}"  />
<input type="submit" name="submit" id="edit-submit" value="Proceed to paypal.com"  class="form-submit" />
<input type="hidden" name="form_build_id" id="form-3b8a0aff207a97294ece041693545bc4" value="form-3b8a0aff207a97294ece041693545bc4"  />
<input type="hidden" name="form_id" id="edit-lm-paypal-api-payment-form" value="lm_paypal_api_payment_form"  />
</div></form>
vs. Working version
<form action="https://www.paypal.com/cgi-bin/webscr"  accept-charset="UTF-8" method="post" id="lm-paypal-api-payment-form">
<div><input type="hidden" name="business" id="edit-business" value="d@d.org"  />
<input type="hidden" name="cmd" id="edit-cmd" value="_xclick"  />
<input type="hidden" name="item_name" id="edit-item-name" value="d"  />
<input type="hidden" name="item_number" id="edit-item-number" value="0"  />
<input type="hidden" name="no_shipping" id="edit-no-shipping" value="1"  />
<input type="hidden" name="return" id="edit-return" value="http://www.d.org/publish/payment/%252Fstatus"  />
<input type="hidden" name="currency_code" id="edit-currency-code" value="EUR"  />
<div class="form-item" id="edit-amount-wrapper">
<label for="edit-amount">Select amount: </label>
<select name="amount" class="form-select" id="edit-amount" ><option value="25">25</option><optgroup label="Array"><option value="0">50</option></optgroup><option value="100">100</option><option value="500">500</option></select>
<div class="description">Value is Euro</div>
</div>
<input type="hidden" name="notify_url" id="edit-notify-url" value="http://www.d.org/lm_paypal/ipn"  />
<input type="hidden" name="custom" id="edit-custom" value="0"  />
<input type="submit" name="submit" id="edit-submit" value="Proceed to paypal.com"  class="form-submit" />
<input type="hidden" name="form_build_id" id="form-e005ad21ba248bfd95eb35ae054d265c" value="form-e005ad21ba248bfd95eb35ae054d265c"  />
<input type="hidden" name="form_id" id="edit-lm-paypal-api-payment-form" value="lm_paypal_api_payment_form"  />
</div></form>

This seems to be related to an issue on Paypal's end. Here's a link to their forum on this topic. https://www.x.com/thread/42018

Thanks for the update.

In summary from that thread on x.com - paypal have changed some things at their end, and broken the paypal functionality on tens of thousands of sites. It's possible to workaround this with module changes, but obviously the ecommerce platforms with tens of thousands of deployments can't be expected to updated all of these with their shopping facility broken in the meantime.

Status:Active» Needs review

This can be fixed by just replacing the following line in lm_paypal.module

$cmd = '_xclick ';

TO

$cmd = '_xclick';

The same issue happens with D5 - see #736844: Change recommended version for D5?

#6 worked for me

Status:Needs review» Patch (to be ported)

Fix applied to 6.x-2.x-dev. Thanks!

Status:Patch (to be ported)» Fixed

D5 issue is different. Closing this one.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.