Test and go live with TrueLayer in WooCommerce
Test the WooCommerce plugin in sandbox and production, and get ready to go live.
After you configure both your TrueLayer and WooCommerce settings, test different payment scenarios in sandbox to ensure that everything works.
This includes testing refunds. If everything works in sandbox, move on to testing in production. And when you're happy with that, you can go live with the plugin.
Below is a summary of the scenarios to ensure that you can handle during testing.
Successful payments
Ensure that your users can pay you, and that the payment authorisation journey works.
- After your user clicks Instant Bank Payment, the hosted payment page opens.
- Your user can select the bank they would like to pay with.
- Your user can consent to a payment made from their account.
- Your user can choose to use a QR code to continue a payment on mobile.
Check that this option both displays and works. - App2App works for both Android and iOS (in the UK. Equivalent flows across the EU also work.)
- The correct redirect screen displays after the user has authorised a payment.
- Payment statuses display correctly against relevant orders.
Failed payments and refunds
You must also ensure that you can handle failed payments and refunds, if they occur.
The list below includes all the scenarios to test before moving to production.
- Users can drop out or cancel their payment at any stage.
- When a payment fails, the associated order correctly displays that the payment has not succeeded.
- Failure reasons are informative and relevant against individual orders.
- The option to "Refund with TrueLayer" displays against relevant orders.
- Refunds successfully process.
- Refund status displays correctly.
Test in production
When you've tested all the above scenarios in sandbox, we recommend that you test payments in production as well.
To set up production testing, we recommend that you:
- Turn on the live environment and configure your production credentials.
- Create a new product in WooCommerce.
- Make sure that the product is only visible to you and other relevant stakeholders.
- Set the price of the product to a nominal fee, such as £1.
- Go through the two testing checklists again.
Updated 7 months ago