WooCommerce Verkkolasku adds Finnish verkkolasku (electronic invoicing) as a custom payment gateway for WooCommerce. This plugin registers a lightweight gateway that can be enabled in WooCommerce > Settings > Payments.
Features:
- Registers a Verkkolasku payment gateway for WooCommerce
- Supports both modern and classic WooCommerce checkout
- Translation-ready
Installation
- In the admin for your WordPress site, click on “Add New Plugin” in the “Plugins” menu.
- Then click “Upload Plugin” button next to “Add Plugins” title.
- Choose the woocommerce-verkkolasku.zip you downloaded after the purchase
- Click “Install Now” button
- After the installation finishes – Activate the plugin through the “Plugins” screen in WordPress.
- On the “Plugins” screen find the “WooCommerce Verkkolasku” and click “Manage License” link. Add your license key
- Go to WooCommerce > Settings > Payments to enable and configure options for the custom payment gateway
How to use
- The plugin automatically adds the extra fields to your checkout page
- If you are using modern block based checkout you should leave the Company field unchecked in the Block settings: Checkout > Checkout Fields > Shipping Address: Address Field.
Translations
Currently, the plugin is translated into English, Swedish and Finnish. You can easily add your own language with the steps below.
Option 1: Install Loco Translate plugin to translate the strings
- Install Loco Translate plugin to your website
- Open Loco Translate > Plugins
- Click “External Content Consent” on the “Translate plugins” list
- Add your missing language and translate the English strings to your language
Option 2: Create and translate your own .po and .mo files e.g. with Poedit (Visit external site. The link opens in a new tab.)
1. Find Your “Locale Code”
This is the standard code for your language and region.
For German (Germany), it is de_DE.
For French (France), it is fr_FR.
You can find a complete list on the official WordPress translation teams page (Visit external site. The link opens in a new tab.).
The file names MUST follow this exact format:
woocommerce_verkkolasku-[locale_code].po
woocommerce_verkkolasku-[locale_code].mo
e.g for French:
woocommerce_verkkolasku-fr_FR.po
woocommerce_verkkolasku_FR.mo
2. Upload your own .po and .mo files
- Navigate to your WordPress installation’s
/wp-content/directory e.g. with FileZilla FTP program. - Look for a folder named
languages. If it doesn’t exist, create it. - Inside the
languagesfolder, look for a folder namedplugins. If it doesn’t exist, create it. - Upload your two correctly named files (
.poand.mo) into this/wp-content/languages/plugins/directory.
Warning: Avoid This Location DO NOT upload your files to /wp-content/plugins/[plugin-name]/languages/. While translations can work from this folder, the entire plugin directory is overwritten and deleted when the plugin is updated, and you will lose your custom translation files.
