Integration with WooCommerce
Integration with WooCommerce involves setting up a WordPress plugin that connects to the Payday API.
About the WooCommerce plugin#
The WooCommerce plugin is a WordPress plugin that needs to be activated within the Admin interface in WordPress.
Key features of the plugin:
- Connects WooCommerce Payment Methods to ledger accounts (chart of accounts) from Payday.
- When an order is placed in WooCommerce, the customer is registered in Payday.
- When an order is placed in WooCommerce, a paid invoice is registered in Payday with the appropriate ledger account.
- Option to send the invoice via email when the invoice is created.
- Customers can choose to pay using Payday's claim service, which means that when an invoice is created, a claim is generated in the customer's online bank.
Prerequisites for using Payday with WordPress#
- The user must have already set up the WooCommerce store in WordPress
- If the user chooses to offer payment via the claim service, claim creation must be enabled on the settings page in Payday under Settings > Company > Bank
- You must apply for claim services with your commercial bank
Setting up the plugin in WordPress#
For this to work, you must have already installed the WooCommerce plugin beforehand.
1. Download the plugin#

2. Activate the plugin#

3. Go to Settings > Company > Integrations in Payday and click Add#

4. Copy ClientID and ClientSecret and click Confirm#

5. Copy ClientID and ClientSecret to the login page and click the "Log in" button.

6. Settings#
Map ledger accounts to payment methods in WooCommerce.
And then choose when you want to:
- Register a new customer in Payday (if applicable)
- Create an invoice, and mark it as paid
Then choose whether you want to send a PDF copy of the invoice to customers when an invoice is created
NOTE: If no settings are mapped when an order is in the Completed status, an invoice will be created in Payday with an unpaid status. You will then need to manually record the payment in Payday.

Finally, do not forget to save the changes for them to take effect.
| Everything should be working now. The instructions below only apply if you still need to configure Icelandic tax in WooCommerce, or if you need to create new ledger accounts. |
Create a ledger account in Payday #
If, for example, your payment method in WooCommerce requires a payment key, you need to create a new ledger account in Payday.
For example:
In my store, I offer my customers the option to pay by credit card (Valitor) when they place an order. Go to Accounting > Ledger Accounts and click New Account.
Give the ledger account a clear name and description. Then select the type "Other current assets (short-term assets)" and the RSK key "Accounts receivable (5130)".
To create a ledger account in Payday that will appear in Shopify, you must check Receives payments.
Finally, click Save.
NOTE: When a new account is created, you must click "Sync ledger accounts from Payday" in the Payday plugin for the account to appear in the settings.
Configure WooCommerce#
This is not required, but to prevent unexpected system errors, we recommend that all Payday customers running a WooCommerce store in Iceland configure their main settings in a similar manner.
Tax Options#

Standard rates#

Reduced rate rates#

Zero rate rates#

Payday Claim Service#
When you click "Claim Service", the following settings page appears:

To activate the claim service, check "Enable Payday Claim Service" and then save the changes.
More detailed information for each setting can be accessed by hovering the mouse over the question marks.
NOTE: You can display the national ID (kennitala) field at checkout and in emails even if the claim service is not active. You just need to check "Display field at checkout" and then save.
#
Inventory Synchronization#
As of version 3.2.0 of the plugin, it is possible to update the inventory status in Payday based on the inventory status in WooCommerce.
When synchronization occurs, the product is sent over to Payday. If the product does not exist, it is created; otherwise, it is updated.
You can sync inventory in three ways.
Sync all products#
On the settings page, there is a button that says "Sync all inventory with Payday".
When the button is clicked, all products and product variations are sent over to Payday.

Sync a single product#
In WooCommerce, under all products, the action "Sync inventory with Payday" should appear under the action list visible when hovering the mouse over a specific product.

Sync multiple products#
In WooCommerce, under all products, the action "Sync inventory with Payday" should appear under the bulk action dropdown menu.

Results#
Once you have synchronized your products, the following tables should appear.

The first table displays a summary of how many products and product variations were successfully created, updated, and if anything went wrong.
The second table (if it appears) displays all errors that occurred during synchronization. You can click on the product name to open the product in a new window.

