-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use custom BaseUrl #1102
Comments
@jamesmckenzie It's definitely something we'd like to support in the library in the future, especially to support stripe-mock as it would make iterating on the library a lot faster. I've tagged it as "future" for now as it's not something we'd be able to tackle immediately but we will look into it! |
@remi-stripe thanks for getting back to me - if I can get some time, I'm happy to submit a PR. My initial thought is to just have the baseUrl as a constructor arg defaulted to the current Urls.BaseUrl string if that works for you? |
cc @ob-stripe what do you think? |
Great feature request! It's definitely something that the library needs :) I think the best place for this would likely be the
Happy to review a PR if you're up for it @jamesmckenzie :) |
thanks for the info, will put something together. |
PR in for the above (sorry for the delay, had some computer issues!) |
Released in 13.4.0, which should appear in NuGet shortly. Thanks again for your contribution @jamesmckenzie, much appreciated! |
Feature Request
The library should allow the user to provide a custom url for testing purposes.
Use case - testing an application that uses this client library in conjunction with a mock server (e.g. stripe-mock)
The text was updated successfully, but these errors were encountered: