Skip to content

bitkarrot/simple-reg-lnbits-form

Repository files navigation

Simple Registration with LNBits pay button + Airtable

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.

Flow in 1-2-3

1 - Fill in Form - Data to Airtable

Screenshot 2023-12-31 at 6 39 55 PM

2 - Click on Pay Button

This is simplified version using satspaysession but you can also just use the SatsPay API from LNbits directly.

Screenshot 2023-12-31 at 6 39 00 PM

3 - Pay with LNBits Sats Pay extension

Screenshot 2023-12-31 at 6 39 25 PM

4 - optional - Completed Page

see completed link setting in LNBits

About

basic contact form with pico; data to airtable; registration fee to lnbits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published