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

Invoices - upcoming_invoice, doesn't support customer as an optional parameter #869

Open
brandonapollo opened this issue Mar 30, 2023 · 0 comments

Comments

@brandonapollo
Copy link

https://github.com/stripe-ruby-mock/stripe-ruby-mock/blob/master/lib/stripe_mock/request_handlers/invoices.rb#L66
Forces a customer to be passed in, but on the API a customer is optional if a subscription is passed in:
https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-customer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant