Handle money safely.
State machine examples for Stripe webhooks and fulfillment.
Stripe webhooks can arrive out of order or be duplicated. Use Flowstepper's state machine engine to ensure that a 'payment_intent.succeeded' event only triggers fulfillment if the order hasn't already been shipped.
| Aspect | Flowstepper Approach |
|---|---|
| Execution Model | Durable, pause-and-resume. |
| Configuration | Code-first (SDKs). |
Common Mistakes
A frequent anti-pattern is attempting to build this logic using in-memory queues (like Redis) which lose state during pod restarts. Always use a durable store for critical orchestrations.
FAQ
Is my data encrypted at rest?
Yes. All execution payloads are encrypted at rest using AES-256 GCM.