WooCommerce configuration

Set up the WooCommerce plugin.


Enable pretty permalinks in Wordpress

Ensure that you enable pretty permalinks in your WordPress installation. Otherwise, callbacks from TrueLayer back to your store won’t work and orders will not be updated with the correct order status/information.

Install and configure the TrueLayer plugin in WooCommerce, so that you can start testing payments.

1. Install plugin

You will need to download our TrueLayer for WooCommerce plugin and configure this in WooCommerce to begin testing and then accepting live payments:

  1. Download the latest truelayer-for-woocommerce.zip.
  2. Go to: WordPress Admin > Plugins > Add New and Upload Plugin. Upload the truelayer-for-woocommerce.zip file you have just downloaded.
  3. Click Install Now and then Activate.

2. Configure plugin

  1. Go to: WooCommerce > Settings > Payments > TrueLayer
  2. Check the Enable TrueLayer checkbox.
  3. Title: Enter "Instant Bank Transfer" in this field.
  4. Description: Enter "Instant Bank Transfer" in this field as well.
  5. Test Mode: check the Enable test mode for TrueLayer checkbox, so that the payment gateway is in test mode when you use sandbox credentials.
    If you don't check this box, the payment method will be live.
  6. Logging: check the Log debug messages checkbox to save debug messages to the WooCommerce System Status log.
    This enables you to monitor transactions. If an error occurs, a detailed record of the error will display here.
  7. Enter the relevant credentials into the fields in the screenshot below to enable payments for sandbox.

The Settings page for the TrueLayer plugin in WooCommerce

Next steps

Learn where to find the sandbox and production credentials for the plugin.