Once you have input all of the details needed to get the plugin up and running, you can test different payment scenarios in sandbox to make sure that you've configured the plugin correctly. Once you're happy, you can go live with the plugin in production. We recommend the testing scenarios below.
The testing checklist below details a successful user journey to make a payment:
- Once Instant Bank Payment has been clicked, the hosted payment page opens.
- Bank selection screen displays.
- User consent screen displays.
- QR handoff displays and works.
- App2App works for both Android and iOS (in the UK — equivalent flows across the EU also work).
- Redirect screen for user is relevant based on payment status.
- Payment statuses display correctly against relevant orders in WooCommerce.
- The option to "Refund with TrueLayer" displays correctly against relevant orders.
- Refund successfully processes.
- Refund status is correctly displays against the order.
- Potential user dropouts or cancellations at every stage are handled.
- Failed journey correctly displays against individual orders in WooCommerce.
- Where applicable, the failure reasons are informative and relevant against individual orders in WooCommerce
If you want to test the above checklist in a production environment, we recommend you:
- Create a new product in WooCommerce and make the product only visible to you and other relevant stakeholders.
- Set the product price to a nominal fee, such as £1.
- Test the above scenarios on your personal device.
Follow these final steps before you start accepting payments with TrueLayer.
- Configure TrueLayer to display as a payment method in relevant countries only.
- Correctly populate the plugin production fields with production credentials.
- Uncheck Test Mode in the plugin.
- Toggle Live on in Console.
Once the above steps are complete, click save. You can now accept payments with TrueLayer!
Updated 3 months ago