How do I process transactions or plans through a specific gateway?
Problem Statement
You want to know how to process transactions or plans through a specific gateway.
Solution
This article also covers
Can I route certain transactions or plans to a specific gateway?
Summary
In Chargebee, you can configure specific gateways based on the payment method type, such as GoCardless or Stripe. However, you cannot route a certain plan to a specific gateway. For transactions, you can designate a currency to a particular gateway using Chargebee's Smart Routing feature.
This feature lets you configure rules for automatically picking a gateway account that best suits your customer's payment mode and currency.
To set up Smart Routing via the admin console, go to Settings > Payment Gateways > Smart Routing in the Chargebee Dashboard.
To override Smart Routing via API, pass the gateway account associated with the payment method type using the gateway_account_id parameter in the API calls described in Smart Routing.
Note: If this value is not passed or is null, Chargebee defaults to the automatic Smart Routing configuration enabled in the UI.