What is it? SvelteKit contact form submission with Airtable and a LNBits Pay Button for the fee in lightning sats.
We use a simple button that creates a satspay invoice using a proxy called satspaysession. The source code for the proxy is here at https://github.com/bitkarrot/satspaysession/
Set environment variables first. we are using AIRTABLE_API_KEY interchangably with AIRTABLE_TOKEN in this forked repository
Check out the blog post on configuration and how to get the
AIRTABLE_BASE_ID
and AIRTABLE_TOKEN
for the project.
This is simplified version using satspaysession but you can also just use the SatsPay API from LNbits directly.
see completed link setting in LNBits