This task is one section of Odoo accounting: nine everyday tasks, step by step, with 8 related tasks on one page.
1. Open the provider
Go to Accounting → Configuration → Payment Providers. The same list is under Website or Sales configuration. For a first test with no account, use the built-in Demo provider. It takes dummy payments and needs no credentials.
2. Stay in test mode
On a copy of the database, set the provider’s State to Test mode and enter that provider’s sandbox credentials. Do not paste secret keys into a ticket, a screenshot, or a chat. Odoo leaves a test-mode provider unpublished, so visitors do not see it until you publish it.
3. Pay one test order
Pay one test order with the Demo provider, or with the provider’s own test card. The order or invoice should show that test payment. Do not mark an invoice paid by hand.
4. Leave it in test
Set State to Enabled only when that provider account is allowed to take live payments. Rotate any key that has been exposed. Enabling a provider publishes it on the website unless you unpublish it.
5. Frequently asked questions
Is a test payment real money?
No, when you used the provider’s test mode and test card. Check the provider status on the payment before you tell a customer it is live.
Where do I get the test card number?
From that provider’s documentation. Do not reuse a customer’s real card.
What if the payment stays pending?
Read the provider message on the payment. Do not mark the invoice paid by hand unless finance confirms the money.
6. Related articles and next steps
Odoo documents provider states in the Odoo 19 online payments page. Test on a duplicate database so live invoice numbers are left alone.
Continue learning
Describe the version, hosting, and workflow you want to improve. Email OdooMatrix to discuss the next step.