-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Missing methods for dealing with TestClocks #574
Labels
Comments
Hey! I would be very happy to accept a PR that does this if you have the time and would like to contribute. Otherwise, we are in the process of releasing a full rewrite so I will only be able to prioritise this after that lands. Cheers Alex |
augustoccesar
added a commit
to augustoccesar/async-stripe
that referenced
this issue
Jul 26, 2024
### Description This adds support to the following `TestClock` operations: - [Create](https://docs.stripe.com/api/test_clocks/create) - [Retrieve](https://docs.stripe.com/api/test_clocks/retrieve) - [List](https://docs.stripe.com/api/test_clocks/list) - [Delete](https://docs.stripe.com/api/test_clocks/delete) - [Update](https://docs.stripe.com/api/test_clocks/advance) Closes arlyon#574
augustoccesar
added a commit
to augustoccesar/async-stripe
that referenced
this issue
Jul 26, 2024
### Description This adds support to the following `TestClock` operations: - [Create](https://docs.stripe.com/api/test_clocks/create) - [Retrieve](https://docs.stripe.com/api/test_clocks/retrieve) - [List](https://docs.stripe.com/api/test_clocks/list) - [Delete](https://docs.stripe.com/api/test_clocks/delete) - [Update](https://docs.stripe.com/api/test_clocks/advance) Closes arlyon#574
2 tasks
arlyon
pushed a commit
that referenced
this issue
Jul 31, 2024
# [0.38.0](v0.37.3...v0.38.0) (2024-07-31) ### Features * add support for TestClock operations ([d792798](d792798)), closes [#574](#574)
🎉 This issue has been resolved in version 0.38.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
TestHelpersTestClock
struct exists and there are enum variants receiving various test clock events. But there is no way to create, retreive, list, delete, or advance test clocks. The API is documented here: https://docs.stripe.com/api/test_clocks/object?lang=curlI want to be able to test subscriptions renewal etc using this library, but I can't.
Thank you!
The text was updated successfully, but these errors were encountered: