This plugin allows Open Collective to be used as payment method for paying registration fee on Indico. Uses Open Collective's Post-Donation Redirect feature to handle payment. With this plugin, Usrs are redirected to specific event on collective on Open Collective then redirected back to Indico with transaction information from Open Collective.
See how it works with short demo video
Install the plugin package from PyPI
pip install indico-plugin-payment-opencollective
Open indico.conf
of your indico installation then add payment_opencollective
on PLUGIN
.
PLUGINS = { ... , 'payment_opencollective'}
Clone this repository on ~/dev/indico/plugins
git clone https://github.com/ubucon-asia/indico-plugin-payment-opencollective.git
With python virtual environment of Indico development installation enabled, enter the cloned directory then run following command to install the plugin.
pip install -e .
Open indico.conf
which should be located in ~/dev/indico/src/indico
then add payment_opencollective
on PLUGIN
.
PLUGINS = { ... , 'payment_opencollective'}
You can now test you modification on your development indico environment.
On your Indico event item admin page, Go to Features
then enable Payment
feature.
Once done, Go to Payments
then under Payment methods
section, Click Open Collective
and enable. Enter and save configurations.
Once you also configured pricing for each registration form, then you're ready to accept payments with Open Collective.
- Collective Slug: Slug of your collective on Open Collective. (e.g. If it's
https://opencollective.com/ubucon-asia
then enterubucon-asia
) - Event Slug: If you have created event under your collective, enter slug of the event on Open Collective. (e.g. If it's
https://opencollective.com/ubucon-asia/events/ubucon-asia-2024-d62e355c
then enterubucon-asia-2024-d62e355c
) - Token: Used for querying order data from Open Collective. Go to your personal settings on Open Collective and navigate to the
For developers
section to craete yours
Pricing of each registration can be configured on General settings
of each regiatraion settings. Make sure to match currency of registration form with the collective integrated so that people won't get confused on checkout.