AgentFlow Enterprise Docs

Environment Variables

Keep all provider credentials and manual payment instructions server-side. Production values belong in Vercel, never in source control.

Payment strategy

dotenvdotenv
PAYMENTS_PRIMARY_PROVIDER=paypal
PAYMENTS_ENABLE_PAYPAL=true
PAYMENTS_ENABLE_MANUAL_INVOICE=true
PAYMENTS_ENABLE_BANK_TRANSFER=true
PAYMENTS_ENABLE_PADDLE=false
PAYMENTS_ENABLE_STRIPE=false
NEXT_PUBLIC_PAYMENTS_PRIMARY_PROVIDER=paypal

Server-only payment data

PayPal secrets, webhook identifiers, bank details, crypto addresses, customer data, and invoice records must never use the NEXT_PUBLIC_ prefix.

PayPal

dotenvdotenv
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
PAYPAL_WEBHOOK_ID=
PAYPAL_ENVIRONMENT=sandbox

Use sandbox credentials and sandbox plan IDs for development. Move to live credentials only after subscription creation, confirmation, verified webhook delivery, and automatic activation have been tested end to end.

These docs describe implementation readiness and configuration. They are not a certification, penetration test, contractual SLA, or financial advice claim.