You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without looking at the code and just guessing, it would seem that the auto_paging_each method is not sending the original parameters in the subsequent requests
To Reproduce
Have a customer with more than one page of payment methods and run
Stripe::Customer.list_payment_methods(customer_id, type: 'card').auto_paging_each do |pm|
...
end
Expected behavior
The expected behavior is to get the page in the iteration without the error.
Code snippets
No response
OS
Ubuntu
Language version
Ruby 2.7.4
Library version
v6.2.0
API version
Default
Additional context
Once I removed some repeated payment methods from the customer the code started working again
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a customer with multiple payment methods. This code:
Throws
Stripe::InvalidRequestError ((Status 400) (Request req_pc1CMt5PpyX1EE) Missing required param: type.)
Without looking at the code and just guessing, it would seem that the auto_paging_each method is not sending the original parameters in the subsequent requests
To Reproduce
Have a customer with more than one page of payment methods and run
Expected behavior
The expected behavior is to get the page in the iteration without the error.
Code snippets
No response
OS
Ubuntu
Language version
Ruby 2.7.4
Library version
v6.2.0
API version
Default
Additional context
Once I removed some repeated payment methods from the customer the code started working again
The text was updated successfully, but these errors were encountered: