SaaS
Multi-Currency Billing
International billing system with multi-currency subscriptions, gateway routing, and secure payment processing integrations.
Category
Client

Project overview
Worked on the launch of multi-currency billing support for AgencyAnalytics, enabling customers to subscribe and pay in their local currency for the first time.
Previously, the platform only supported USD transactions. The new billing system introduced support for:
CAD
USD
AUD
NZD
GBP
EUR
The project involved integrating multiple payment gateways while maintaining a seamless subscription and checkout experience across currencies and payment methods.
AgencyAnalytics uses Chargebee for subscription management and invoicing. Depending on the selected currency and payment method, customers would be routed through different payment gateway flows:
USD transactions continued using the existing Braintree integration
Non-USD credit card transactions were processed through BlueSnap
PayPal supported purchases across all supported currencies
My role focused primarily on backend payment and subscription logic.
I worked on:
Currency-based payment gateway assignment
BlueSnap integration support for multi-currency payments
Secure payment flow handling with 3D Secure verification
Chargebee payment method attachment and subscription processing
To support the frontend checkout flow, I implemented backend endpoints that generated BlueSnap pfToken values, allowing the frontend to initialize secure hosted payment fields and complete 3D Secure authentication.
Once payment verification was completed, I worked on the backend logic responsible for correctly attaching payment methods and subscriptions to Chargebee using the appropriate gateway configuration based on the selected currency.
The result was a scalable international billing system that expanded purchasing flexibility for global customers while maintaining secure and compliant payment processing workflows.
Key Contributions
Implemented backend logic for multi-currency subscription support
Developed currency-based payment gateway routing
Integrated BlueSnap payment processing workflows
Generated secure
pfTokenvalues for frontend payment fieldsSupported 3D Secure verification flows
Ensured Chargebee subscriptions attached to the correct payment gateway
Helped launch internationalized billing support across the platform
Tech Stack
PHP
Laravel
MySQL
Chargebee
BlueSnap
Braintree
PayPal
REST/API integrations




