Open Collective Payment plugin

Hello folks, I’ve been using Indico for CFP and Open Collective for event fund management when organizing some conferences. And thought it would be good to integrate Open Collective with Indico for registration fee payment. Since the fiscal host on Open Collective I’ve been using not allowing me to integrate their PayPal or Stripe due to their resource constraints.

So I just created a payment plugin using Open Collective’s Post-donation redirect feature in last few weeks. While it does works with Indico, There are also things still needs to be improved and other things to do (I’ll still need to write some tests, implement duplication check logic, packaging and some other stuff). So It would be glad if you would be interested to have a look and provide some feedback :slight_smile:

GitHub Repo

Video demo

2 Likes

Just a few things I noticed on a quick glance over it:

  • The python distname for indico plugins is usually indico-plugin-whatever (you currently have name = "indico-payment-opencollective" in your pyproject.toml, so I’d add the -plugin there).
  • Publish to PyPI so people can easily use pip to install it w/o manually cloning your repo
  • You have a typo in one of your variable names: invliad_error_msgsinvalid_error_msgs
1 Like

Thanks for checks! I’ll fix these soon :slight_smile:

I haven’t tried to publish anything to PyPI so far, But yes that will be useful for most people. Will try to publish there :slight_smile:

Plugin is now available on PyPI :slight_smile:

1 Like