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

[15.x] Fetch all payment methods #1617

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

driesvints
Copy link
Member

Closed #1569

This PR changes the behaviour of the payment methods to fetch all payment method types, not just card ones. Previously, the Stripe API didn't allow you to do this and we were forced to always filter by a certain type so we chose "card" as a default as it's the most common one. But now we can offer a single way to fetch all payment methods for a customer in one go. This is useful for people to list these and not having to do multiple calls anymore to fetch each type separately.

@driesvints driesvints marked this pull request as draft December 13, 2023 16:48
@driesvints driesvints marked this pull request as ready for review December 13, 2023 17:00
@taylorotwell taylorotwell merged commit f0e29ad into master Dec 13, 2023
7 checks passed
@taylorotwell taylorotwell deleted the fetch-all-payment-methods branch December 13, 2023 17:07
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

Successfully merging this pull request may close these issues.

2 participants