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
@Dharshann It's been called out before that this gem isn't thread-safe, i.e. because the config is set just once and reused by all functions, it's not possible to use multiple merchant accounts in the same app. There are hacks that might work (maybe a local clone of the gem, after which the 2 gems can be used for separate accounts), but essentially this isn't supported right now.
We've got it on our roadmap though and hope to be able to get this done sometime later this year (pull requests are welcome!).
How would you suggest using this library for both normal and a sub-merchant account transactions?
Currently
razorpay-ruby
gem is setup-ed with an initializer with single user/merchant's credentials.Is it a good way to explicitly setup/override Razorpay with sub-merchant's credentials wherever we are require sub-merchant instance
The text was updated successfully, but these errors were encountered: