-
Notifications
You must be signed in to change notification settings - Fork 356
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
Add support for Subscription Schedules #480
Add support for Subscription Schedules #480
Conversation
@maartenvanvliet Is it possible to test yet with stripe-mock? Or do we need to update some deps? |
I will add some tests to this PR. It will depend on #485 because of a more recent version of stripe-mock |
8ad66eb
to
4d9dfde
Compare
Looks like we got a bunch of PR's merged in from @maartenvanvliet! Thanks a ton. Will release a minor version after this PR is in. |
4d9dfde
to
212c157
Compare
👍 |
|
||
""" | ||
@spec create(params, Stripe.options()) :: {:ok, t} | {:error, Stripe.Error.t()} | ||
when params: %{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maartenvanvliet Last question before we merge - how did you know what params go with the create
action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.yaml and access to the beta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Nice work! Just saving a mental note to look at again once out of beta. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📆
Add support for Subscription Schedules. It is still in beta but already available in the OpenAPI spec https://github.com/stripe/openapi/blob/master/openapi/fixtures3.yaml#L2088 and other Stripe API clients e.g. stripe/stripe-ruby@d784819