Skip to content

fix: use satspay for onchain payments#56

Merged
dni merged 11 commits into
mainfrom
fix/onchain3
Jun 5, 2026
Merged

fix: use satspay for onchain payments#56
dni merged 11 commits into
mainfrom
fix/onchain3

Conversation

@dni

@dni dni commented Jun 5, 2026

Copy link
Copy Markdown
Member

• events paid onchain create a satspay charge
• the charge has the correct amount, redirect, etc and ALSO a webhook that calls the events extension on confirm
• if the user selects onchain for the event, then the charge will be created and the user will be redirected to the charge page (which has all the UI and check)
• when the charge is paid, it calls the webhook which updates the ticket

Comment thread models.py Outdated
Comment thread views_api.py
Comment thread views_api.py
Comment thread views_api.py
) from exc
if not charge.get("paid"):
return

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duble check the charge paid amount

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the paid bool of satspay is trustworthy

@dni dni requested a review from motorina0 June 5, 2026 10:03
@dni dni merged commit 99b43ff into main Jun 5, 2026
6 checks passed
@dni dni deleted the fix/onchain3 branch June 5, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants