in use
payments-rail
- Stripe
- Paddle
- PayPro Global
The problem
Subscription billing has to route to the right payment provider for a given customer’s country and billing interval — and access has to follow correctly from a webhook, not from someone watching a dashboard.
What I built
A billing rail spanning three providers — Stripe, Paddle and PayPro Global — chosen by country and billing interval, with tenant access provisioned automatically from provider webhooks.
The hard decision
When the routing logic can’t determine which provider a request belongs to, it fails closed: it refuses the charge rather than risk charging through the wrong rail.
日本語の要約
国と支払い間隔に応じて、Stripe・Paddle・PayPro Globalの3社に決済を振り分ける課金基盤です。プロバイダーからのWebhookを起点に、テナントへのアクセス権を自動的に付与します。振り分け先を判断できない場合は、誤った経路で課金するのではなく処理を拒否します。