Idenfy and Stripe Webhook support for circle server #1
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: herocode/circles#1
Loading…
Reference in New Issue
Block a user
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?
If we want to use rhai flows for registration as issued in #2, we need a mechanism to push data to the worker upon the receiving of a callback. Our existing ws server for circles receives rhai scripts, authenticates the script caller, and dispatches the script to be executed by the worker in the context of a specific circle. We need to augment our existing server to also be able to authenticate callbacks received in webhooks, and dispatch certain preset scripts upon the receival of these callbacks.
These should dispatch payment_intent_successful or verification_successful etc scripts with necessary parameters, such that the context circle can register this into its db. This will then allow a push to proceed in a flow to look up this successful callback, and if it exists proceed to next flow step. Of course, there will be some metadata associated with the flow to confirm that the callback received is the one required for the flow.
implemented with
93977bad7a
. need more example to verify works