We want to integrate Cashfree into our multi-tenant platform, but it seems the current implementation of the SDK doesn't allow that because all the configuration parameters are all static variables of the Cashfree class, so you can only ever have one Cashfree merchant per runtime.
Initially, the SDK was designed to keep it simple. But yes, this use case of multiple creds has to be supported. Will get back to you once we discuss internally.
We want to integrate Cashfree into our multi-tenant platform, but it seems the current implementation of the SDK doesn't allow that because all the configuration parameters are all static variables of the Cashfree class, so you can only ever have one Cashfree merchant per runtime.
Are there any plans to change this to member variables so that one can use different instances for different merchants?