Indico payment plugin for processing payment with Open Collective
Project description
indico-plugin-payment-opencollective
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
Installation
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'}
Install for development for contributing to this plugin
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.
Configuration
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file indico_plugin_payment_opencollective-0.1.1.tar.gz
.
File metadata
- Download URL: indico_plugin_payment_opencollective-0.1.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8872904671b40d0c111d87c99b76403963d542e524c6736c1283d7c000120175 |
|
MD5 | 4ebb47a82fc00f6a45959cb2d6505811 |
|
BLAKE2b-256 | 5adebb207bfe54488ffdd70a65c7ce6642c5eab682d68b967ebe5f4d1d0a7eef |
File details
Details for the file indico_plugin_payment_opencollective-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: indico_plugin_payment_opencollective-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586dcd7beb9651baf739e8533bf12faa96355307510d2b0f7cbfc583973135eb |
|
MD5 | 4212b532b969cf1c90dd41ce4d805c31 |
|
BLAKE2b-256 | 3f74f50c4ae224cbccfc73325816388938dc886434b70a38bbdc281d26e27f25 |