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

Missing method to list customer's payment methods #10

Open
Pip4pap opened this issue Oct 3, 2023 · 5 comments
Open

Missing method to list customer's payment methods #10

Pip4pap opened this issue Oct 3, 2023 · 5 comments

Comments

@Pip4pap
Copy link

Pip4pap commented Oct 3, 2023

I am not sure if you are using the latest stripe package underneath the wrapper but it seems it is missing this method:
stripe.Customer.list_payment_methods()

Ref: https://stripe.com/docs/api/payment_methods/customer_list

@bhch
Copy link
Owner

bhch commented Oct 3, 2023

The current version supports this method. See this test case (Line 109): https://github.com/bhch/async-stripe/blob/v6.0.0/tests/test_generated_examples.py#L108-L113.

Which version are you using?

@Pip4pap
Copy link
Author

Pip4pap commented Oct 3, 2023 via email

@bhch
Copy link
Owner

bhch commented Oct 3, 2023

We are currently 7 versions behind the main library.

However, the current async-stripe version (v6.0.0) does support this method.

Please take a look at this test case (line 109): https://github.com/bhch/async-stripe/blob/v6.0.0/tests/test_generated_examples.py#L108-L113. This test passes successfully.

What error are you getting?

@Pip4pap
Copy link
Author

Pip4pap commented Oct 3, 2023 via email

@Pip4pap
Copy link
Author

Pip4pap commented Oct 3, 2023 via email

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

2 participants