The problem
Different regions need different payment gateways. Three gateways means three integrations, three webhook formats and three sets of edge cases to maintain forever.
What I decided
One region-routed abstraction, with the gateway chosen by the tenant's region, not by the code path. The trade-off: the abstraction only offers what all three gateways can do, so gateway-specific features are left out by design.
What shipped
Subscriptions, invoicing, credit notes and India GST and HSN tax handling, across Razorpay, Stripe and Paddle, behind one interface. Adding a region became a configuration change, not an integration project.