Fundraising website: how to localize and test

donate.mozilla.org is our platform to collect donations. The main form is for Mozilla Foundation, but it also hosts a separate form for donations to Thunderbird.

This website relies on third parties to handle payment. The localization of the payment system for debit/credit cards is managed directly by Stripe and it’s not possible to add or change translations.

Testing

Submitted translations are automatically deployed to the staging server, so you can test them a few minutes after they have been translated.

Testing the payment flow

You may want to test the complete user journey on the website, but you don’t have to make an actual donation for that. Stripe has a test mode that is enabled on the staging server only. Simply use the payment info from this page on the staging server and you should be able to simulate a payment. For instance, you can select an amount of money, click on donate by credit/debit card then fill out the Stripe form with the testing info. Make sure errors are properly localized, as well as the page displayed when the donation has been successful. You should also receive a confirmation email in your language.

Testing currency settings

The first thing to check is that the website supports all the relevant currencies for your locale.

You also want to make sure the default currency selected for your locale is the one that makes the most sense. Only one default currency can be set per locale and it’s not possible to rely on geolocation to determine the best one.

If your language is relevant in more than one country, make sure the other currencies are also available in the drop down.

Check that the currency formatting on the page is correct for your language. If it’s not correct, please file an issue.

How to report an issue

The preferred way is to file an issue on the donate.mozilla.org GitHub repository.

results matching ""

    No results matching ""