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

Add PaymentMethod type parameter to ManagesPaymentMethods #1055

Closed
wants to merge 3 commits into from
Closed

Add PaymentMethod type parameter to ManagesPaymentMethods #1055

wants to merge 3 commits into from

Conversation

simonhir
Copy link
Contributor

@simonhir simonhir commented Feb 9, 2021

I added a $type parameter to have the possibility to retrieve other payment methods from Stripe than card.

Should fix #507

This probably should go on master as the card_brand-field now contains card instead of visa or mastercard.

Would be nice if somebody could say if this is more a Minor or a Major version feature and so on if I should provide the backwards compatibility.

@driesvints
Copy link
Member

Hey @simonhir. This indeed needs to go to master because other than the change in behavior this also breaks the method signatures. Feel free to send this to master and I'll try to take a look soon.

@driesvints driesvints closed this Feb 9, 2021
@simonhir simonhir deleted the allow-other-payment-types branch February 9, 2021 13:56
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.

Billable::cards does not return bank accounts
2 participants