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

Unable to select payment method according to country of the address at checkout time #18907

Closed
ghost opened this issue Oct 28, 2018 · 9 comments
Labels
Area: Frontend Component: Checkout Event: squashtoberfest Fixed in 2.2.x The issue has been fixed in 2.2 release line Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@ghost
Copy link

ghost commented Oct 28, 2018

Preconditions (*)

  1. Issue present in 2.2.6
  2. Issue present in 2.3

Steps to reproduce (*)

  1. Allow 2 payment methods from backend. like Bank Transfer and Purchase Order
  2. Allow Bank Transfer method only for United States.
  3. Allow Purchase Order method only for India
  4. In frontend, login with customer account.
  5. Add 2 address in customer account. one address with country India and other with country United States.
  6. Now add product in Cart.
  7. Go to Checkout page.
  8. Select address with country United States. payment methods will appear
  9. Now click on shipping section.
  10. Select address with country India

1
2
3
4
5

Expected result (*)

  1. After selecting address with India country. It should only display payment methods which are available in country India.
    7

Actual result (*)

  1. It is showing payment methods allowed for the address which was selected at first time.
    6
@ghost ghost self-assigned this Oct 28, 2018
@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Oct 28, 2018

Hi @rahulwebkul. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me $VERSION instance

where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop).
For more details, please, review the Magento Contributor Assistant documentation.

@rahulwebkul do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Oct 28, 2018
@ghost
Copy link
Author

ghost commented Oct 28, 2018

#SQUASHTOBERFEST

@ghost
Copy link
Author

ghost commented Oct 28, 2018

@magento-engcom-team give me 2.2.6 instance

@magento-engcom-team
Copy link
Contributor

Hi @rahulwebkul. Thank you for your request. I'm working on Magento 2.2.6 instance for you

@magento-engcom-team
Copy link
Contributor

Hi @rahulwebkul, here is your Magento instance.
Admin access: http://ec2-34-228-235-121.compute-1.amazonaws.com/i-18907-2-2-6//admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@ghost ghost added the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Oct 28, 2018
@magento-engcom-team
Copy link
Contributor

@rahulwebkul Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-95958, MAGETWO-95959 were created

@magento-engcom-team magento-engcom-team added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 28, 2018
@ghost
Copy link
Author

ghost commented Oct 28, 2018

@magento-engcom-team give me 2.3 instance

@ghost
Copy link
Author

ghost commented Oct 28, 2018

Yes i am able to reproduce this issue on vanilla Magento instance 2.2.6

@magento-engcom-team magento-engcom-team added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Nov 2, 2018
@magento-engcom-team
Copy link
Contributor

Hi @rahulwebkul. Thank you for your report.
The issue has been fixed in #18908 by @rahulwebkul in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.8 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend Component: Checkout Event: squashtoberfest Fixed in 2.2.x The issue has been fixed in 2.2 release line Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

1 participant