Open Collective Events Integration (Drupal)
Facilitating the use of the Open Collective for a Drupal Camp or similar event with a registration and paid ticket process.
About
This module was written to facilitate the use of the Open Collective, such as Open collective Foundation (OCF), as fiscal sponsor for a Drupal Camp or similar event with a registration and paid ticket process.
The Open Collective portal has a way to create an event with paid tickets, but no easy way to collect all the information we need to go along with a camp registration (e.g. contact email, t-shirt size, food preference, vaccine attestation, etc).
For the event we are using a webform as the mechanism to register people and then sending them to the ticket purchase page on the Open Collective site to complete the transaction.
However, this leave a gap where we have to manually reconcile the registrations with the actual payments to see if we are missing any. Worse yet, the ticket payment allows checkout with the name "Guest" and doesn't provide to us the email address used.
To help close the gap, this module uses a mechanism to connect a ticket purchase on the Open Collective site with the webform registration submission. By constructing a URL containing the webform submission ID as a tag for the ticket order, we are able to use Open Collective webhook data and also user navigation back to our site following the link provided as a "redirect" to confirm the payment and link a specific ticket order to the registration.
If you want to contribute or do something similar with a webhook, take a look at this tool to help you grab the data: https://www.drupal.org/project/request_dumper
Other integration points may be added over time, such as using their graphQL api.
Other integration points may be added over time, such as using their graphQL api.
Contribute
Become a financial contributor.