Open lukaszbajorski-filmbooking opened 3 weeks ago
Hello again,
We've downloaded the source code of the SDK, did some searching and found the issue.
The cause of the problem is usage of singleton RestSharpDto instead of map-per-url.
I can push the code or you can make the changes yourselves, it's not a biggie:
Cheers, Ł.
PS - as a side issue, the HTTP response code returned with the erroneous behaviour was 0 and the message null which caused a NPE in the SDK:
PR with the changes: https://github.com/Mangopay/mangopay2-net-sdk/pull/230
Hello @iulian03, I've just noticed there's a new 3.19.3 version of the SDK but the error above stops us from migrating to it. Could you include the fix we provided?
Hi @lukaszbajorski-filmbooking , We will take a look at this. Thank you for the PR!
Thanks @iulian03!
Hello folks,
In our use case we need to be able to switch between prod and sandbox mangopay endpoints dynamically, depending on the data in the running system. Unfortunately, it seems there's an underlying conflict making it impossible. Perhaps a state that the SDK keeps that prevents changing Client+ClientPassword+BaseUrl combo on the fly?
Any help or direction will be appreciated.
Cheers, Łukasz