Skip to content
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

Merged

Conversation

maartenvanvliet
Copy link
Member

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

@coveralls
Copy link

coveralls commented Apr 15, 2019

Coverage Status

Coverage increased (+0.6%) to 86.111% when pulling c645d92 on maartenvanvliet:issues/subscription_schedule into 7c54802 on code-corps:master.

@snewcomer
Copy link
Collaborator

@maartenvanvliet Is it possible to test yet with stripe-mock? Or do we need to update some deps?

@maartenvanvliet
Copy link
Member Author

I will add some tests to this PR. It will depend on #485 because of a more recent version of stripe-mock

@snewcomer
Copy link
Collaborator

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.

@maartenvanvliet
Copy link
Member Author

👍


"""
@spec create(params, Stripe.options()) :: {:ok, t} | {:error, Stripe.Error.t()}
when params: %{
Copy link
Collaborator

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

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. 👍

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📆

@snewcomer snewcomer merged commit 43e3a39 into beam-community:master May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants