AgentFlow Enterprise Docs
PayPal Orders and Webhooks
The server validates the plan price, creates the order, captures an approved payment, verifies webhook signatures, and records payment state in Supabase.
Implemented routes
| Route | Purpose |
|---|---|
POST /api/payments/paypal/create-order | Validate plan, create order, and persist the checkout session. |
POST /api/payments/paypal/capture-order | Capture an approved order and mark it for manual activation. |
POST /api/webhooks/paypal | Verify PayPal webhook signatures and update payment state. |
Current billing limitation
One-time payment
Recurring PayPal subscriptions are not enabled. A successful capture requires manual service activation and renewal handling.
These docs describe implementation readiness and configuration. They are not a certification, penetration test, contractual SLA, or financial advice claim.