You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hi @mdwt
Use version 4.3.0
In this we have added a new method like Cashfree.PGCreateOrderWithConfiguration()
This takes in a CashfreeConfiguration class as the first parameter and you can pass different merchants on each call.
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?
The text was updated successfully, but these errors were encountered: