Get started
Troubleshooting
Introduction
Ledyer Payments is a plugin that extends WooCommerce, allowing you to take payments via Ledyer.
The plugin can be downloaded for free here.
Sign up with Ledyer
To get started with Ledyer Payments, you need to create an account with Ledyer. If you’re not a customer yet you can get in touch with Ledyer through this link.
Installation
From WordPress repository
- Login to WordPress Admin. Navigate to Plugins → Add Plugin (in the left column menu).
- Search for Ledyer Payments in the search bar and click the Install Now button when Ledyer Payments appears.
- Activate the plugin.
From downloaded plugin file
- Login to WordPress Admin. Navigate to Plugins → Add Plugin (in the left column menu).
- Click on the Upload Plugin option, then click Browse to select the zip file from your computer. Once selected, click OK and then click the Install Now button.
- Activate the plugin.
Required WordPress/WooCommerce settings
- You need to enable HTTPS (install a SSL/TLS certificate) in your web store to get Swedbank Pay Payment Menu to work.
- Make sure that you have enabled pretty permalinks in your WordPress installation. Otherwise callbacks from Swedbank Pay back to your store won’t work and orders will not be updated with the correct order status/information.
- It’s important that callbacks from Ledyer to your store doesn’t get blocked by security or caching plugins. Make sure that requests to https://yourdomain.com/wc-api/ isn’t blocked.
- To get the order total to match between WooCommerce and Ledyer you need to configure WooCommerce to display prices with 2 decimals. More information about displaying of prices and how it can cause rounding issues can be found in this article.
Configuration
Navigate to → WooCommerce → Settings → Payments → Ledyer Payments
Enable Ledyer Payments by checking the Enable payment gateway checkbox.

Account settings
- Client ID – Enter your Client ID, which can be found or generated in the Merchant portal under Settings → API Credentials.
Make sure you are using test credentials if you have Test mode enabled. - Client secret – Enter your Client secrfet, which can be found or generated in the Merchant portal under Settings → API Credentials.
- Store ID – Optional. If not set, Ledyer defaults to the first store ID. You can find the store ID on the on the settings page in Merchant portal.
- Test mode – Tick the Enable checkbox if you want to set your store to test mode. Useful for testing and debugging purposes.

Checkout settings
- Title – Enter the title for the payment method displayed in the checkout if more than one payment method is available.
- Description – Enter the description of the payment method displayed in the checkout page if more than one payment method is available.
- Extra company fields placement – Select where to display the fields Company number, Reference 1 and Reference 2 in the checkout.
Choose between Payment form and Billing form. - Security level – Set the wanted security level. This will override the security level you have set in the merchant portal.
Please see the Ledyer documentation for more information on what these levels mean.

Troubleshooting
- Logging – Check this to enable logging and save debug messages to the WooCommerce System Status log. Logging is required for troubleshooting any issues related to the plugin. It is recommended that you always have it enabled.
- Detailed logging – Enable detailed logging to capture extra data. Use this only when needed for debugging hard-to-replicate issues, as it generates significantly more log entries.

Currencies
The plugin itself has no limitations regarding currency.
However, please note that there can be limitations in the agreement you have with Ledyer.
When it comes to questions regarding supported currencies you should always talk to your payment provider.