-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Braintree : Please check the shipping address information #9356
Comments
Hi, @advcha, this issue is not related to Braintree payment method and perhaps related to #3789 (internal ticket
You have posted the request for the billing address, not for the shipping. |
Hi @joni-jones, I've tried the solutions from @pratikmage (https://github.com/shopgo-magento2/checkout-city) and @horatiubrinza (https://pastebin.com/3GcesL2H) but none is working. I've tried with the shipping form is filled and 'My billing and shipping address are the same' checkbox is checked. then the shipping form is filled and 'My billing and shipping address are the same' checkbox is unchecked (mean I need to fill the billing address form and click 'Update' button). None are working. The same error message "Please check the shipping address information. %1" is appeared. |
@advcha , I can't comment these solutions.
It will not help because of the issue in the previous checkout step, the shipping address is saving in a quote without all needed details. You can try to use develop branch and if this issue is still reproducible, please, update this ticket. |
@joni-jones, can you tell me the steps to upgrade to the develop branch? I dont want to break my current magento version. |
Okay. This is my mistake. I put the email address input in the shipping address form (because the mockup from my client want me to do so) and add an attribute data-role="email-with-possible-login" in the form. I also moved 'Already registered? Click here to login' text. That's way it broke the checkout process and always got a complain "Please check the shipping address information". When I fixed the mistake, the checkout process run well again. Yeah. this is nothing to do with Braintree. |
Referenced the wrong PR number in my commit. Please ignore above. |
I am developing a website with magento CE 2.1.2. Everything looked fine until I tested a few payment options like paypal and braintree on the checkout page. both with sandbox account. Paypal run well but braintree dont. At first I got an error 400 and a response "An error occurred on the server. Please try to place the order again." then I tried to debug it with modifying /vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php:
Then I got a more clear response:
I got confuse with the returned message "Please check the shipping address information" and "Please enter the first name. Please enter the last name. Please enter the street. Please enter the city. Please enter the phone number. Please enter the zip/postal code." because in chrome dev toolbar I posted the correct payload:
I've tried to sent some combinations like filling the form with 'My billing and shipping address are the same' checkbox unchecked then click 'Update' button. Also filled all form (shipping and billing form) but its didn't work either.
The text was updated successfully, but these errors were encountered: