Who this is for. The commerce implementer launching a store, or a site with a form that takes payment. Afterwards you can list every test provider on the account, prove that none is offered to a shopper, and prove that the live ones move money.
Every store is built against providers that do not move money: a Mock Pay payment method, payment methods in Test Mode, a mock tax provider. Each is a record in the database, shared by every environment of the site. Left active at launch they do not fail, they succeed: a Mock Pay method set never to fail approves every payment, the order is recorded as paid, and nobody notices until the money is counted. That is why this is a named item on the checklist, not part of "check the shop".
What to disable
| Provider | The risk | At go-live |
|---|---|---|
| A Mock Pay payment method | Payments are approved or declined by its failure rate setting, and no money moves | Untick Active, on every Mock Pay method of the account |
| Stripe or PayPal with Test Mode on | The provider's sandbox is used: test cards succeed, real cards are not charged | Enter the live keys, then turn Test Mode off |
| The mock tax provider, on a zone or as the Taxes setting Default provider | Shoppers are charged the mock provider's fixed rate, and nothing reaches a tax service | Point every live zone, and the default provider, at the real provider |
| Avalara in its sandbox environment, Stripe Tax in test mode | Rates and transactions go to a test account | Switch to the production account and keys |
| A form's payment element | Each payment element lists its own payment methods | Open every form that takes payment and check its methods |
A payment method can be set for one site or left for every site of the account, and the checkout lists what it is given. A Mock Pay method created for a test site without a site set is therefore offered on every site of the account.
The check that none is selectable
Do not rely on having clicked the right switches: ask the site what it has. List the payment methods through the REST API, authenticated as an integration, and look for any active method that is a mock or in Test Mode. paymentServiceProviderType is the provider's name in lower case with hyphens, mock-pay for Mock Pay: