This repository contains webhook endpoints for updating the payment status of paying members in Airtable.
When a member completes a Stripe checkout, Stripe sends subscription webhook events to this service. The webhook reads the client_reference_id from the Stripe checkout session — this is the Airtable record ID of the member (set by the onboarding flow when a volunteer opts in to becoming a paying member). The webhook then fetches that Airtable record directly by ID and updates its payment status field.
Note: Previously,
client_reference_idwas a Tally submission ID, and the webhook looked up the Airtable record by matching a dedicated field. With the migration to the custom onboarding flow,client_reference_idis now the Airtable record ID itself, so the lookup is a directfind()instead of a filtered search. TheTALLY_ID_FIELD_NAMEenv var is no longer required.