Avarda Checkout - Introduction
Avarda Checkout for WooCommerce is a plugin that extends WooCommerce, allowing you to take payments via Avarda.
- The plugin can be downloaded for free here.
- Avarda Checkout is available in Sweden, Norway, Finland and Denmark.
- You need an agreement with Avarda to be able to use this plugin.
- WooCommerce 3.8 or newer is required.
- PHP 5.6 or higher is required.
- A SSL Certificate is required.
Required WooCommerce Settings
- Make sure that you have enabled pretty permalinks in your WordPress installation. Otherwise callbacks from Avarda back to your store won’t work and orders will not be updated with the correct order status/information.
- It is recommended to enable guest checkout (Enable guest checkout setting in WooCommerce > Settings > Checkout). If you don’t allow guest checkout you must check both Automatically generate username from customer email and Automatically generate customer password in WooCommerce > Settings > Accounts setting page.
- To get the order total to match between WooCommerce and Avarda 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
- Go to: WooCommerce > Settings > Payments > Avarda Checkout.
- Enable Avarda Checkout by checking the Enable Avarda Checkout checkbox.
- Title - Enter the title for the payment method displayed in the checkout and order confirmation emails.
- Description - Enter the description of the payment method displayed in the checkout page.
- Other payment method button text - Customize the Select another payment method button text that is displayed in the checkout if using other payment methods than Avarda Checkout. Leave blank to use the default (and translatable) text.
- Testmode - Tick the checkbox if you make purchases using a test account.
- Enable order management - Tick this checkbox if you want to enable automatic order management for the Avarda order.
- Debug log - Tick this checkbox to log events for debugging.
- Two column checkout layout - Enables a two column checkout
- Client ID - Client ID, for each country that you have an agreement for, that you receive from Avarda.
- Client Secret - Client Secret, for each country that you have an agreement for, that you receive from Avarda.
Order Management
When an order is created in WooCommerce and a reservation number exists in Avarda system, you have the possibility to handle the order management in Avarda directly from WooCommerce. This way you can save time and don’t have to work in both systems simultaneously.
Requirements
To get started with order management in Avarda via your WooCommerce store, you need to activate the Enable order management setting in the payment gateway settings.
Cancel an order
Orders created via Avarda Card, Swish, Direct Payments cannot be cancelled. Refund can be used in this case.
- The WooCommerce order status need to be set as Processing.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order details box there is a selectbox named Status. Change the status to Cancelled.
- Click the Update button located at the top right on the screen.
- If everything was successful a new order note saying Avarda reservation was successfully cancelled is created.
Activate an order
- The WooCommerce order status need to be set as Processing.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order details box there is a selectbox named Status. Change the status to Completed.
- Click the Update button located at the top right on the screen.
- If everything was successful a new order note saying Avarda reservation was successfully activated is created.
Refund an order
Avarda Checkout supports full refunds as well as partial refunds.
- The WooCommerce order status need to be set as Completed.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order items box, press the Refund button.
- Here you can choose to refund the full sum for an item (1), part of the sum (2) or shipping (3).
If you enter a sum manually (2) you also need to enter the correct tax to refund manually, as opposed to when you refund the full sum for an item in which case the tax is automatically calculated. With shipping (3) you need to enter the amount manually, as well as the tax. Not to be confused with the Refund manually button. - Press the Refund via Avarda Checkout button.
- If everything was successful a new order note saying Avarda Checkout order was successfully refunded is created.
Currencies
The plugin itself has
no limitations regarding currency.
However, please note that there can be limitations in the agreement you have with your payment provider.
When it comes to questions regarding supported currencies you should always talk to your payment provider. The exception is when the plugin in fact do have limitations.
You can read more about this at the Avarda website.