Selling a Laravel SaaS to India and the rest of the world: payments, tax and currency

Many SaaS products built in India want customers in two very different markets: Indian businesses that expect rupee pricing, UPI or card payments and GST invoices, and international customers who expect dollars, cards and a Stripe-like checkout. Here is how I structure the billing side of a Laravel SaaS so it can serve both without turning into a mess of if-statements. 1. Keep billing behind your own interface Don't call a payment gateway SDK from controllers. Define a small BillingGateway…

阅读原文 这是简要摘要。全文归原作者所有,发布于 Dev.to。

分享:TelegramX

相关文章

Цвета, которые HABR ненавидит

Однажды, листая ленту, мне показалось, что раньше иллюстрации к статьям были какими-то менее жёлтыми, что ли. Спойлер: мне показалось. В этот момент я как раз…