Appearance
PayTR
PayTR is a Turkish payment processor with iframe-based hosted checkout. Set BILLING_PROVIDER=paytr to route through it.
ENV
BILLING_PROVIDER=paytr
PAYTR_MERCHANT_ID=
PAYTR_MERCHANT_KEY=
PAYTR_MERCHANT_SALT=
PAYTR_TEST_MODE=1 # 1 sandbox, 0 liveAll four keys are mandatory for PayTR mode. Get them from your PayTR merchant panel.
Checkout flow
POST /billing/checkout returns a PayTR iframe token. The frontend renders the PayTR iframe inside the upgrade page; PayTR posts the result back to the configured callback. Successful charges flip the workspace subscription to active.
Test mode
PAYTR_TEST_MODE=1 routes everything through PayTR's sandbox — useful for staging environments. Test cards are documented in PayTR's developer portal.