You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Fundraising/Data and flow/Monthly convert: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Cstone
No edit summary
 
imported>Cstone
No edit summary
 
Line 15: Line 15:
=== Deploying ===
=== Deploying ===
This is deployed with the payments-wiki project
This is deployed with the payments-wiki project
=== Testing ===
When testing locally, after you make the donation and click yes on the monthly convert the queues need to be consumed in this order:
donations -> contribution tracking -> recurring

Latest revision as of 15:34, 15 August 2022

Overview

Strings

Current English monthly convert strings: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/DonationInterface/+/refs/heads/master/gateway_common/i18n/interface/en.json

And the descriptions for the strings: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/DonationInterface/+/refs/heads/master/gateway_common/i18n/interface/qqq.json

Enabling

Monthly convert is turned on by country by $wgDonationInterfaceMonthlyConvertCountries in LocalSettings.php

$wgDonationInterfaceMonthlyConvertCountries = [ 'US' ];

Deploying

This is deployed with the payments-wiki project

Testing

When testing locally, after you make the donation and click yes on the monthly convert the queues need to be consumed in this order:

donations -> contribution tracking -> recurring