marbles / craft-teamleader
A connection between craft commerce and teamleader to have an easy flow of facturation
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 4
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0-RC1
- janhenkes/teamleader-php-sdk: ^2.0
This package is auto-updated.
Last update: 2024-10-26 17:13:47 UTC
README
A connection between craft commerce and teamleader to have an easy flow of invoicing
Requirements
This plugin requires Craft CMS 3.0.0 or later and Craft Commerce 2 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require marbles/craft-teamleader
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Teamleader.
Teamleader Overview
-Insert text here-
Configuring Teamleader
Before you start using the teamleader plugin, you need to add a custom integration to your teamleader and put the redirect uri as: http://example.com/admin/teamleader/connect/integration where http://example.com is your website.
Now you can copy your clientId and clientSecret and add it to your config.
The config file looks like this:
/** * Teamleader config.php * * This file exists only as a template for the Teamleader settings. * It does nothing on its own. * * Don't edit this file, instead copy it to 'craft/config' as 'teamleader.php' * and make your changes there to override default settings. * * Once copied to 'craft/config', this file will be multi-environment aware as * well, so you can have different settings groups for each environment, just as * you do for 'general.php' */ return [ // Teamleader integration clientId "clientId" => '', // Teamleader integration clientSecret "clientSecret" => '', // Base Url of the app, this is needed to make your redirect uri "baseUrl" => '', // Id of the department where the invoices need to be saved "departmentId" => '', // Id of the tax rate you need for your invoices "taxRateId" => '', ];
Once this is setup you can go to the teamleader > connect tab in the Craft controlepanel and connect your teamleader to your commerce site.
Teamleader Roadmap
Some things to do, and ideas for potential features:
- Release it
Brought to you by Marbles