Missing method to list customer's payment methods
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
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?
I am using stripe package 6.6.0
On Tue, Oct 3, 2023, 17:58 Bharat Chauhan @.***> wrote:
Which version are you using?
— Reply to this email directly, view it on GitHub https://github.com/bhch/async-stripe/issues/10#issuecomment-1745156827, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG44AYEV7YW3XLJO3JTLK23X5QR2BAVCNFSM6AAAAAA5QWH4UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGE2TMOBSG4 . You are receiving this because you authored the thread.Message ID: @.***>
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?
Let me try this again and regenerate the error
On Tue, Oct 3, 2023, 18:12 Bharat Chauhan @.***> wrote:
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?
— Reply to this email directly, view it on GitHub https://github.com/bhch/async-stripe/issues/10#issuecomment-1745184337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG44AYAKJWIWBQ64DBMZ4NLX5QTPJAVCNFSM6AAAAAA5QWH4UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGE4DIMZTG4 . You are receiving this because you authored the thread.Message ID: @.***>
My bad. I have custom methods that call the different Stripe methods. I didn't know that they too had to be awaited
On Tue, Oct 3, 2023, 18:21 Phillip Musumba @.***> wrote:
Let me try this again and regenerate the error
On Tue, Oct 3, 2023, 18:12 Bharat Chauhan @.***> wrote:
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?
— Reply to this email directly, view it on GitHub https://github.com/bhch/async-stripe/issues/10#issuecomment-1745184337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG44AYAKJWIWBQ64DBMZ4NLX5QTPJAVCNFSM6AAAAAA5QWH4UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGE4DIMZTG4 . You are receiving this because you authored the thread.Message ID: @.***>