Mwalker has submitted this change and it was merged.

Change subject: (FR #595) Adyen payment gateway
......................................................................


(FR #595) Adyen payment gateway

Implement credit and debit cards, using an iframe.

Introduce a new technique for creating an iframe: javascript
calls a php api which builds staged variables, and this is posted
to a form with target= iframe id.

TODO: It should be possible to use "communication type" to
make this a bit more consistent with other adapters.

Note that the files in forms/ are mostly dumb copies and need
hacking.  They were committed to illustrate that adyen.js has
some new code to support the above iframe technique.

Send the custom filters risk_score to Adyen as an initial fraud
offset.  Add features to base gateway adapter to provide access
to the pre-processing fraud score.

Fail if preprocess filters indicate fraud.

Mark transactions returned as pending and send to the -pending queue

Fixing double staging issue in both GC and Adyen where we could
potentially make the charged amount larger. (Multiple x100s!)

Change-Id: I049d245c37cda0c0799cd82dda674595230cae07
---
A adyen_gateway/adyen.adapter.php
A adyen_gateway/adyen_gateway.alias.php
A adyen_gateway/adyen_gateway.body.php
A adyen_gateway/adyen_gateway.i18n.php
A adyen_gateway/adyen_resultswitcher.body.php
A adyen_gateway/forms/css/adyen.css
A adyen_gateway/forms/html/_donation-amount/USD.html
A adyen_gateway/forms/html/_donation-amount/default.html
A adyen_gateway/forms/html/_name-email/default.html
A adyen_gateway/forms/html/_personal-information/US.html
A adyen_gateway/forms/html/_personal-information/default.html
A adyen_gateway/forms/html/adyen.html
A adyen_gateway/forms/js/adyen.js
M donationinterface.php
M extras/custom_filters/custom_filters.body.php
M gateway_common/donation.api.php
M gateway_common/gateway.adapter.php
M gateway_forms/rapidhtml/RapidHtmlResources.php
18 files changed, 1,629 insertions(+), 16 deletions(-)

Approvals:
  Mwalker: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/20467
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I049d245c37cda0c0799cd82dda674595230cae07
Gerrit-PatchSet: 22
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to