Last modified: 2013-09-20 03:59:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53282, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51282 - Set cmd=_xclick instead of cmd=_donations in PayPal URL params
Set cmd=_xclick instead of cmd=_donations in PayPal URL params
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
DonationInterface (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-13 10:00 UTC by Liangent
Modified: 2013-09-20 03:59 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-07-13 10:00:12 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.
Comment 1 Liangent 2013-07-13 10:04:11 UTC
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...
Comment 2 Liangent 2013-07-13 10:14:21 UTC
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&currency_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&currency_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.
Comment 3 Matt Walker 2013-08-27 17:01:08 UTC
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).
Comment 4 Matt Walker 2013-09-19 18:47:16 UTC
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
Comment 5 Liangent 2013-09-19 20:16:00 UTC
(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).
Comment 6 Matt Walker 2013-09-20 03:59:39 UTC
We need to deploy and formally test; but https://gerrit.wikimedia.org/r/#/c/85129/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links