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

Payment methods options match Stripe settings when creating a payment source #284

Merged

Conversation

nfourtythree
Copy link
Contributor

Description

The code was, currently, restricting the payment method types when creating a payment source. Although is possible to alter these using the Gateway::EVENT_BUILD_SETUP_INTENT_REQUEST event this was not intended behaviour.

Removing this restrictions means that the options shown to a user when creating a payment source will match those methods enabled in Stripe's dashboard. This also means it now works in the same way as when a customer is making payment on an order.

Related issues

#251

@nfourtythree nfourtythree self-assigned this Jan 5, 2024
@nfourtythree nfourtythree requested a review from a team as a code owner January 5, 2024 12:38
@nfourtythree nfourtythree linked an issue Jan 5, 2024 that may be closed by this pull request
@lukeholder lukeholder merged commit 257d91f into develop Jan 6, 2024
5 checks passed
@lukeholder lukeholder deleted the bugfix/251-allow-the-bypass-of-payment_method_types branch January 6, 2024 04:01
lukeholder added a commit that referenced this pull request Jan 6, 2024
Additional fixes for #284
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.

Allow the bypass of payment_method_types
2 participants