Skip to main content

Testing Pay by Bank App Integration

Testing Pay by Bank App Integration

After completing the integration, it is crucial to thoroughly test the Pay by Bank App functionality in a sandbox environment to ensure everything works as expected.

Testing in Sandbox

  • Use Your Test Account: You can use a test account to simulate Pay by Bank App transactions in the sandbox environment. This allows you to mimic real-world transactions without impacting actual financial data. All transactions in the sandbox are simulated and will not result in real fund transfers.

  • Simulate Various Scenarios: Test different scenarios, including successful payments, payment failures, and cancellations, to ensure your integration handles each case correctly. This includes testing with different bank accounts, device types, and across multiple browsers.

Troubleshooting Payment Failures

  • Check Sandbox Configuration: If a payment fails during testing, ensure your integration is configured to use the Pay by Bank App’s sandbox environment. Verify that you are using the correct sandbox credentials and that all API settings are correctly configured.

  • Review Error Messages: Carefully review any error messages returned during transactions. These messages can provide insights into potential issues, whether it’s a configuration error, network issue, or other problem.

Common Issues and Troubleshooting

  • Button Not Displaying: Ensure the Pay by Bank App script is correctly loaded and that the user is on a compatible device and browser. Also, verify that the DOM element for the button is correctly set up and the button initialization code is correctly implemented.

  • Payment Errors: Review logs for specific error codes and messages. Make sure all required fields are provided and correctly configured in your payment data. Common issues include missing or incorrect payment details, failed initialization of necessary libraries, or unsupported bank accounts.

By following these steps and thoroughly testing in the sandbox environment using your test account, you can ensure a robust and reliable Pay by Bank App integration before moving to production.