Page MenuHomePhabricator

Add Braintree settings on production
Closed, ResolvedPublic

Description

Things to add in LocalSettings.php:

  • Disable minfraud for braintree on production (see T311625#8038642)
  • Enable Braintree gateway
  • Update special page allow list
  • $wgBraintreeGatewayAccountInfo (once account is set up)
  • anything else...?

First step is to add these in payments-wiki-staging/LocalSettings.php for staging. Then when things look fine, we can add them to payments-wiki/LocalSettings.php.

For the production credentials, once the account is ready: that should go in SmashPig/[local-config|staging-config]/braintree/main.yaml. (See subtask T312144.)

Additionally, we should check if we need any new GatewayChooser rules so no paypal donors go to Braintree unless specifically directed there. This will go in DonationInterface/extension.json.

Event Timeline

AndyRussG renamed this task from Add Braintree local settings on production to Add Braintree settings on production.Jul 13 2022, 11:11 PM
AndyRussG updated the task description. (Show Details)

Change 813722 had a related patch set uploaded (by AndyRussG; author: AndyRussG):

[mediawiki/extensions/DonationInterface@master] Add Braintree at the end of GatewayChooser defaults

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

Update for payments-wiki-staging/LocalSettings.php pushed to localsettings repo on frpm1001 for review. :)

Change 813722 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add Braintree at the end of GatewayChooser defaults

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

As much as possible of this is done for payments-wiki-staging. Once we have account info, we can complete the staging config, test, and, when we're ready, copy the updates over to the production site config.

XenoRyet set Final Story Points to 1.