Line 10:
Line 10:
|webbuy=
|webbuy=
|status=development
|status=development
−
|minversion=20
+
|minversion=21
|note=
|note=
}}
}}
Line 16:
Line 16:
=Features=
=Features=
Add into Dolibarr a HelloAsso online payment page (credit/debit cards). This can be used to allow your customers to make ad-hoc payments or payments related to a specific Dolibarr object (invoice, order etc...).
Add into Dolibarr a HelloAsso online payment page (credit/debit cards). This can be used to allow your customers to make ad-hoc payments or payments related to a specific Dolibarr object (invoice, order etc...).
−
−
=Prerequisites=
−
This module requires an instance of Dolibarr version 20 or +.
=Installation=
=Installation=
Line 28:
Line 25:
==Setup of HelloAsso Api==
==Setup of HelloAsso Api==
−
Generate the two API keys required to make online payment with HelloAsso. They can be found on your HelloAsso account in the menu '''My Account > Integrations and APIs'''
+
Generate the two API keys required to make online payment with HelloAsso. They can be found on your HelloAsso dashboard:
+
+
* First go on the page of the Association (create one from menu '''My login - Administer association - Add an association'''.
+
* Once you are on the page of an association, go into the menu '''My Account > Integrations and APIs'''
[[File:HelloAssoKeyApi.png|alt=|border]]
[[File:HelloAssoKeyApi.png|alt=|border]]
Line 40:
Line 40:
3) Next you need to connect to your HelloAsso-sandbox account to get and fill 3 fields in Dolibarr:
3) Next you need to connect to your HelloAsso-sandbox account to get and fill 3 fields in Dolibarr:
−
*Client organization test with the organization you want the checkout to be done
+
*Client Organization test with the organization you want the checkout to be done
−
*Client id test key (Blue square on the image)
+
*Client ID test key (Blue square on the image)
−
*Client secret test key (Red square on the image)
+
*Client Secret test key (Red square on the image)
−
The two keys can be found on your HelloAsso-sandbox account in the menu My Account > Integrations and APIs
+
The two keys (Client ID and Secret) can be found on your HelloAsso-sandbox account in the menu '''My Account > Integrations and APIs''' in the page of the Organization.
==Setup for live mode==
==Setup for live mode==
Line 51:
Line 51:
4) Next you need to connect to your HelloAsso account to get and fill 3 fields in Dolibarr:
4) Next you need to connect to your HelloAsso account to get and fill 3 fields in Dolibarr:
−
*Client organization live with the organization you want the checkout to be done
+
*Client Organization live with the organization you want the checkout to be done
−
*Client id live key (Blue square on the image)
+
*Client ID live key (Blue square on the image)
−
*Client secret live key (Red square on the image)
+
*Client Secret live key (Red square on the image)
+
+
The two keys (Client ID and Secret) can be found on your HelloAsso-sandbox account in the menu '''My Account > Integrations and APIs''' in the page of the Organization.
=Usage=
=Usage=
Line 65:
Line 67:
The development of this Open Source application is not included inside the standard GIT repository of Dolibarr but inside a repository dedicated to modules not supported by the Dolibarr development team but supported by {{TemplateURLDoliCloud}} on GitHub:
The development of this Open Source application is not included inside the standard GIT repository of Dolibarr but inside a repository dedicated to modules not supported by the Dolibarr development team but supported by {{TemplateURLDoliCloud}} on GitHub:
−
*Repository: https://github.com/DoliCloud/DoliMods.git
+
*Repository: https://github.com/Dolibarr/dolibarr-community-modules
*The documentation of HelloAsso API are available here: https://centredaide.helloasso.com/association?question=comment-fonctionne-l-api-helloasso
*The documentation of HelloAsso API are available here: https://centredaide.helloasso.com/association?question=comment-fonctionne-l-api-helloasso