Lunio for WordPress self-updates
Official WordPress plugin for integrating Lunio tax tools and API features.
by Lunio · github.com/lunio-canada/lunio-for-wordpress · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lunio-canada/lunio-for-wordpress/archive/refs/heads/main.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
This plugin allows you to embed a Canadian tax calculator on your WordPress site using the Lunio Developer API.
Features
- Clean, responsive tax calculator shortcode
- Supports all Canadian provinces and territories
- Calculates GST, HST, PST, and QST as applicable
- Customizable shortcode attributes for layout and behavior
- Gutenberg block for visual editor integration
- Secure API key management
- Debug mode for troubleshooting
Installation
- Download the plugin zip file.
- Go to WordPress Admin > Plugins > Add New > Upload Plugin.
- Upload the zip file and activate the plugin.
Setup
- Obtain a Lunio API key from Lunio Developer Portal.
- Go to Settings > Lunio in your WordPress admin.
- Enter your API key and save settings.
- Click "Test Connection" to verify the API key works.
Usage
Add the shortcode [lunio_tax_calculator] to any page or post to display the tax calculator.
Gutenberg Block
For visual editing, use the "Lunio Tax Calculator" block in the Gutenberg editor (under Widgets category). The block provides sidebar controls for all calculator options and renders the same shortcode on the frontend.
Shortcode Attributes
You can customize the calculator using the following attributes:
province: Pre-select a Canadian province (e.g.,province="ON"for Ontario). Valid codes: AB, BC, MB, NB, NL, NT, NS, NU, ON, PE, QC, SK, YT.show_breakdown: Show/hide individual tax breakdown rows. Default:true. Useshow_breakdown="false"to hide GST/HST/PST/QST rows.powered_by: Show/hide the "Powered by Lunio" link. Default:true. Usepowered_by="false"to hide.layout: Choose layout style. Default:full. Uselayout="compact"for a smaller, tighter design.
Examples
- Basic:
[lunio_tax_calculator] - Pre-selected province:
[lunio_tax_calculator province="QC"] - Compact layout without breakdown:
[lunio_tax_calculator layout="compact" show_breakdown="false"] - Custom setup:
[lunio_tax_calculator province="ON" powered_by="false" layout="compact"]
API Plan
This plugin requires a Lunio API plan. Visit Lunio Pricing for details.
Troubleshooting
- Ensure your API key is correct and active.
- Check debug mode in settings for error logs.
- Verify your server can make outbound HTTPS requests.
Requirements
- WordPress 5.0+
- PHP 7.0+
- Active Lunio API subscription