-
Notifications
You must be signed in to change notification settings - Fork 357
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
Possibly missing id
(for SubscriptionItem) on items
type signature for Subscription
.
#823
Comments
Is this related to #786? |
Also, please follow the Issue Template, it help us to help you! |
Thanks for getting back to me @yordis . Also, sorry, but I don't quite understand the |
This issue has been automatically marked as "stale:discard". If this issue still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment. |
I had the same issue with the dialyzer as @crova. It looks like Version: 3.1.1 Steps to reproduce:
Stripe.Subscription.update(stripe_subscription_id, %{
items: [%{id: item.id, price: price_id}]
}) where
|
This issue has been automatically marked as "stale:discard". If this issue still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment. |
Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you! |
Problem Statement
Hello everyone, first of all, thanks for the great work on this library.
Am I missing something or the type signature for
items
is missingid
?To update a subscription, Stripe demands the
subscription item id
(ref):However, if I pass something like below (which works as far as updating a subscription within Stripe):
Dialyzer will complain:
Removing
id
fromitems
will make diayzer happy, but won't work to update the Subscription with Stripe:So, am I missing something here or we actually should have
id
withinitems
type which is not there?Cheers.
The text was updated successfully, but these errors were encountered: