Page MenuHomePhabricator

Add Apple Pay test server support to fundraising-dev
Closed, ResolvedPublic

Description

In order to test with Apple Pay, we need an internet-facing test server serving a valid SSL/TLS cert.

To work around this requirement and maintain our process of developing locally, we're gonna expose our local docker environment to the internet by ssh tunnel with a cloud VPS. That way Apple can hit the domain we give it and the traffic will be tunnelled to our local environments allowing local testing and development.

Event Timeline

Change 711216 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[wikimedia/fundraising/dev@master] Add ApplePay payments-wiki override setup options

https://gerrit.wikimedia.org/r/711216

The command to initiate tunnelling between the cloud VPS and your local docker payments-wiki is:

ssh -v -R 443:localhost:443 root@ec2-3-230-160-72.compute-1.amazonaws.com

Note: your key needs to be in here for this to work.

To see the list of available Apple Pay Test servers click here

Change 711216 merged by AndyRussG:

[wikimedia/fundraising/dev@master] Add ApplePay payments-wiki override setup options

https://gerrit.wikimedia.org/r/711216