Hi all!
Select 'Germany' in the estimated shipping block.
Log in to my account, create address and set Germany country.
Coupon code should be applied, because the country is the same.
'The coupon code "%1" is not valid.' - for both variant: when I set estimated shipping country and also when I logged in with needed address. But when I got to the second step of checkout I can apply this coupon code. I've made some investigation and found in the _validateCouponCode method (Magento\Quote\Model\Quote\TotalsCollector) address objects don't contain any information about address even if customer is logged in.
Thanks,
Alena
@atsareva We cannot reproduce this issue as described. Please provide the detailed steps we must follow to reproduce this issue. In addition, identify the web server you are running, the versions of PHP and MySQL, and any other information needed to reproduce your issue.
@Stas94
Recently I've updated magento to version 2.1.7 with sample data and have the same issue
I have PHP 7.0.18 and mysql Ver 14.14 Distrib 5.7.18
Create coupon code

Create a new customer and set address

Add product and go to shopping cart
Try to apply coupon code there

Go to the second step of checkout and try to apply coupon code again

Thanks.
@atsareva Thanks for reporting this issue. We've created internal ticket MAGETWO-70212 to address this issue.
I have the same problem with the "shipping country" condition, but in my case it happens without using coupons, we apply a 10% discount if the "shipping country" match the rule.
I noticed that in the second step of the checkout, if we go back to the first step (or do a refresh of the page) and then go to the second step, the discount appears.
@atsareva, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.3.0, 2.2.0, 2.1.9
@magento-engcom-team This issue is reproducible for Guest. Once you login - coupon applies successfully.
@magento-engcom-team, this is still a bug in 2.2.3 as a guest within the cart.
its still bug in the 2.2.3 , any solution?
Most helpful comment
its still bug in the 2.2.3 , any solution?