Similarly to this old issue; #221 , the Customer.list_payment_methods used in conjunction with auto_paging_iter does not persist any parameters when going to the next page.
Python version: 3.9.7
Stripe SDK version: 2.63.0
Example:
Both the type parameter and the customer ID is lost:
# Generated URL: /v1/customers/cus_123/payment_methods?type=card
payment_methods = stripe.Customer.list_payment_methods("cus_123", type="card")
# Next page generated URL: /v1/customers/:customer/payment_methods?starting_after=pm_123
for payment_method in payment_methods.auto_paging_iter():
pass
Similarly to this old issue; #221 , the
Customer.list_payment_methodsused in conjunction withauto_paging_iterdoes not persist any parameters when going to the next page.Python version: 3.9.7
Stripe SDK version: 2.63.0
Example:
Both the
typeparameter and the customer ID is lost: