-
Notifications
You must be signed in to change notification settings - Fork 76
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
Restrict allowed countries #1214
Comments
Hello @p24-max , I think the configuration you're requesting could work perfectly well for the Pay Now flow (Amazon Pay as a payment method at last step of checkout), but may be a little clunky to implement for Express Checkout (AP button in cart/minicart/PDP/first step of checkout); we couldn't know the shipping address that the customer intends to use until they authenticate through Amazon, and their selected shipping address is returned to the Magento store. In the Pay Now flow, the customer has already entered their shipping address, so we could simply hide Amazon Pay as a payment method if the 'ship to' country is defined as restricted for AP. If you have multiple store views corresponding to different countries, you could potentially disable Amazon Pay for the view(s) where you don't want to allow it. But I get the sense your problem is slightly more complex than that. Not sure how common it is for a customer wanting to ship to Italy to be browsing in the German store view (for example). Thanks, |
Hi @sgabhart22 , |
Thanks for the info @p24-max . I did a little testing with the PayPal module on a local installation and was able to see the behavior you're looking for. The user experience is less than ideal (in my opinion), since the buyer has to go through the motions of authenticating through the payment provider, selecting an address and payment instrument, and selecting a shipping method all before being told the payment method is unavailable for the selected country. But, I suppose that can't be helped with this type of checkout flow. Perhaps some sort of messaging in the minicart/cart area to indicate that certain payment methods are only available in certain countries could mitigate some frustrations. Nonetheless, I think this is a feature that should be discussed with our partners at Amazon to see if there's interest in implementing it for the Magento module. Thanks again for calling it out and providing the explanations! Spencer |
What I expected
Me as a merchant would only like to offer amazon pay for specific shipping countries.
What happened instead
Currently AmazonPay is available for all magento enabled countries.
Steps to reproduce the issue
general/country/allow
, AmazonPay is possible regardless of country selection.Your setup
The text was updated successfully, but these errors were encountered: