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

Default payment method not selected after location switch #8566

Closed
timur27 opened this issue Apr 3, 2024 · 0 comments · Fixed by #8909
Closed

Default payment method not selected after location switch #8566

timur27 opened this issue Apr 3, 2024 · 0 comments · Fixed by #8909
Assignees
Labels
focus: checkout payments good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. needs feedback The issue/PR needs a response from any of the parties involved in the issue. priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability type: bug The issue is a confirmed bug.

Comments

@timur27
Copy link
Contributor

timur27 commented Apr 3, 2024

Describe the bug

WooPayments filters payment methods during checkout according to the billing address. If a user initially selects a payment method in location X but then switches to location Y, where that method isn't available, none of the payment methods, including credit cards, is selected. One might assume that the payment method should default to a credit card in such cases. All this applies to shortcode checkout, where a payment method is opened by default when opening the checkout.

To Reproduce

  1. Enable EPS and Bancontact, ensure the store currency is EUR
  2. Navigate to shortcode checkout
  3. Select Austria in the billing country field, choose EPS payment method
  4. Change country to e.g. Belgium
  5. EPS now disappears but non of the other methods (card or Bancontact) are selected

Screenshots

Screen.Recording.2024-04-03.at.18.14.16.mov
@timur27 timur27 added type: bug The issue is a confirmed bug. needs feedback The issue/PR needs a response from any of the parties involved in the issue. focus: checkout payments labels Apr 3, 2024
@pierorocca pierorocca added the priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability label Apr 3, 2024
@FangedParakeet FangedParakeet added the good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. label Jun 3, 2024
@timur27 timur27 self-assigned this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: checkout payments good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. needs feedback The issue/PR needs a response from any of the parties involved in the issue. priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants