Last modified: 2013-09-20 03:59:39 UTC
At least for country=CN payment flows. It looks weird that cmd=_donations pages don't accept [[China UnionPay]] cards, while cmd=_xclick ones do. Might be some bug from PayPal side. It would be nice if we have some way to talk with them. But now we may want to workaround it by using a different cmd param.
https://cms.paypal.com/uk/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HF00TZS This is the only documentation I can find about that param, however it didn't really say the internal difference between cmd=_xclick and cmd=_donations...
Hmm not really. cmd doesn't look like the only param affecting that. Anyway: (1) https://www.paypal.com/cgi-bin/webscr?amount=100.00¤cy_code=USD&country=US&business=tle%40wikimedia.org&cmd=_donations&item_name=Donation&item_number=DONATE&no_note=0&custom=13992995&lc=US (2) https://www.paypal.com/cgi-bin/webscr?item_number=general&business=tle%40wikimedia.org&item_name=Donate&cmd=_xclick&amount=100.00&invoice=505939&no_shipping=1¤cy_code=USD URL (1) doesn't work, while URL (2) works. Choose "No PayPal account / Direct Credit/Debit card payment" -> Change the country to "China" to see the difference at the list of accepted cards.
Pats is attempting to get PayPal to tell us what is wrong with WMFs account such that we don't get this option on cmd=_donations. I don't have high hopes. We don't particularly want to change to cmd=_xclick because of how the workflow changes (specifically it removes the option to change the amount you wish to pay).
PayPal got back to us and though getting alternative methods on cmd=_donations is on the roadmap we don't currently have an ETA. Therefore we are now going to whitelist some countries to use cmd=_xclick. This is FR mingle card #1084 - https://mingle.corp.wikimedia.org/projects/fundraiser_2012/cards/1084
(In reply to comment #4) > This is FR mingle card #1084 - > https://mingle.corp.wikimedia.org/projects/fundraiser_2012/cards/1084 > This also implies that we'll have to poke at the parameter list we send to paypal (possibly based on the workflow) because there are different parameters required for both. If it's not easy, and there aren't naming conflicts, maybe we can just provide params required by either to both flows (and redundant ones will be ignored by PayPal server).
We need to deploy and formally test; but https://gerrit.wikimedia.org/r/#/c/85129/