When setting up payment solutions, it's crucial to follow the integration guide carefully. Otherwise, you might encounter errors that can be frustrating and time-consuming to troubleshoot. However, don't worry; we're here to help. In this guide, we'll provide you with some tips and tricks to troubleshoot error messages and get back to business as usual.
Check for common error codes
When you encounter an error message, it's essential to understand what it means. Here are some common error codes and their meanings:
accounts_cannot_match
This error can occur when testing out payments. It means that you've likely attempted to make a payment from your own business bank account, which is not possible since you cannot pay yourself. This error occurs when the recipient and accounts match.
merchant_not_found
This error usually means that the API keys were inserted incorrectly. If you encounter this error, check out our article on How to resolve the "Merchant not found" error for more information: How to resolve "Merchant not found" error
Order_already_paid_for
Order_already_paid_for error occurs when the online store is rolled back to a previous period. In this case, the order numbers are also rolled back, which leads to this error.
If you have recently made such a change, please follow the steps below:
Please go to your WordPress admin panel.
Click WooCommerce → Settings.
Then go to the Payments → Montonio Bank Payments 2024 tab.
Scroll to Use custom payment description and check the Enable box.
Change the text in the Custom payment description field to something else (example as in the screenshot) --> save the changes.
general_error
This error usually occurs when the API keys are inserted incorrectly or when you're using the wrong environment.
store_not_found
Please get in touch with our support team if you encounter a store_not_found error.
{"statusCode":401,"message":"STORE_NOT_FOUND","error":"Unauthorized"}
Check if the API keys are correct.
If your store is based on custom integration, then please check if you are calling the right URL with Live keys (if there is sandbox in the link, you will receive this error).
If you have additional questions and need our help, feel free to contact our support team via the chat in the bottom right corner.