Stripe webhook: register URL + configure signing secret #27
Labels
No labels
meeting-notes
meeting-sensitive
meeting-transcript
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coopcloud_code/home#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Stripe API keys (sk_test_) are configured from env.sh. But webhook signing secret (STRIPE_WEBHOOK_SECRET) is not set. Without it, webhook signature verification fails and payment confirmations don't auto-credit wallets.
Solution
Same approach as freezone:
Note: Freezone uses the same Stripe account (same sk_test_ key). We can register a separate webhook endpoint URL for the marketplace.
Reference
Freezone webhook handler: znzfreezone_backend/src/main.rs lines ~1500-1700
Freezone deploy config: znzfreezone_deploy/tfgrid/envs/dev/app.env
Testing
Signed-off-by: mik-tf
Fixed — Stripe webhook live
What was done
https://dev-app.projectmycelium.org/api/webhooks/stripecheckout.session.completed,payment_intent.succeededcheckout.stripe.comURL)Test
Webhook ID: we_1TF0vPC6v6GB0mBYIjwvImbC
Signed-off-by: mik-tf