Fundraising tech/Testing

From MediaWiki.org
Jump to navigation Jump to search

Fundraising Testing[edit]

There are many different software stacks and configurations involved with testing WMF fundraising code and its interactions with external services. These instructions assume you are using Mediawiki-vagrant.

Resources[edit]

Fundraising tech/Queue testing

Fundraising_tech#Running_PHPUnit_tests_under_vagrant

Logging[edit]

All fundraising related logging can be found in /var/log/syslog

PSP Specific Instructions[edit]

Adyen[edit]

TODO: I get a 403 in the iframe.

Test URL: http://payments.wiki.local.wmftest.net:8080/wiki/Special:AdyenGateway?appeal=JimmyQuote&ffname=adyen&payment_method=cc&recurring=&uselang=en&language=en&currency_code=USD&amount=1&country=US

Amazon[edit]

TODO

Astropay[edit]

TODO

Test URL: http://payments.wiki.local.wmftest.net:8080/wiki/Special:AstroPayGateway?appeal=JimmyQuote&payment_method=cc&recurring=&uselang=en&language=en&currency_code=BRL&amount=100&country=BR&ffname=astropay

Ingenico[edit]

You must use the full vpn because they whitelist the source IP. $wgGlobalCollectGatewayMerchantID must be set to the correct value and the API endpoint should be the one with the .nl TLD.

Test URL: http://payments.wiki.local.wmftest.net:8080/wiki/Special:GlobalCollectGateway?appeal=JimmyQuote&ffname=cc-vmad&recurring=&payment_method=cc&utm_key=&referrer=&language=en&country=US&returnto=Thank_You%2525252Fen&amountGiven=&currency_code=USD&frequency=onetime&amount=3&uselang=en

IDEAL BPay Test URL (Netherlands bank transfer): http://payments.wiki.local.wmftest.net:8080/wiki/Special:GlobalCollectGateway?appeal=JimmyQuote&recurring=&payment_method=obt&utm_key=&language=en&country=AU&returnto=Thank_You%252Fen&amountGiven=&currency_code=AUD&frequency=onetime&amount=3&uselang=en

PayPal Express Checkout[edit]

TODO

Test URL: http://payments.wiki.local.wmftest.net:8080/wiki/Special:PaypalExpressGateway?country=JP&amount=500&payment_method=paypal