Skip to content

PauseAI/pauseai-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pauseai-automation

Netlify Status

This repository contains webhook endpoints for updating the payment status of paying members in Airtable.

How it works

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_id was 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_id is now the Airtable record ID itself, so the lookup is a direct find() instead of a filtered search. The TALLY_ID_FIELD_NAME env var is no longer required.

About

Webhook endpoints for updating the payment status of paying members

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors