Test and go live
This guide is the final step in our introduction to setting up OnPay. If you have not yet completed the basic setup, you should start by reviewing the following steps:
Test mode
OnPay is in test mode when initially set up. This is indicated at the top of OnPay's administration. As long as OnPay is in test mode, you can make test payments with test cards, which can be found in our documentation. This is useful during setup when testing the payment flow before going live.
If you are working with an API integration for OnPay, the various codes returned during communication with OnPay are used for debugging and testing, making test transactions an important part of the process for developers.
When you go live
Once you are ready to go live, switch to production mode so that OnPay can accept real payments. This can be done under Settings > General Settings > “Modes” section.
After this, it is important to test your setup by completing a transaction with a real form of payment. This way, unlike in test mode, you can ensure that your acquirer agreement is set up correctly. For example, you can complete a transaction for a minimal amount (the value must be at least 1 in the currency you are using), and the transaction can then be canceled or refunded. This is also a good way to learn more about OnPay's functionality.