Skip to content

Magento 2.2.0 Checkout - Unable to save address. Please, check input data. #11185

@ShapesGraphicStudio

Description

@ShapesGraphicStudio

Preconditions

  1. Magento 2.2.0
  2. PHP 7.0.23
  3. MySQL 5.6.36-2.el6
  4. Just updated from 2.1.9 to 2.2.0

Steps to reproduce

  1. Add product to cart
  2. Go to checkout
  3. Check "My billing and shipping address are the same"
  4. Try to place order

Expected result

  1. Get redirected to bank

Actual result

  1. Loader does endless loading, a message appears and disappearis quickly :
    "Unable to save address. Please, check input data."

Console throws :
POST https://my-domain.com/france/rest/france/V1/guest-carts/4b9063581eace9deeaa63a0abd87b692/payment-information 400 (Bad Request)

POST XHR https://my-domain.com/france/rest/france/V1/guest-carts/4b9063581eace9deeaa63a0abd87b692/payment-information [HTTP/1.1 400 Bad Request 3739 ms]

HEADERS
Cache-Control no-store, no-cache, must-revalidate
Connection keep-alive
Content-Type application/json; charset=utf-8
Date Mon, 02 Oct 2017 19:00:16 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
Server nginx
Set-Cookie PHPSESSID=js7gfc5llp0ten5436ahsjh3o0; expires=Mon, 02-Oct-2017 20:00:14 GMT; Max-Age=3600; path=/; domain=.my-domain.com; secure; HttpOnly
Transfer-Encoding chunked
X-Powered-By PHP/7.0.23, PleskLin
X-UA-Compatible IE=edge

Accept*/*Accept-Encodinggzip, deflate, br
Accept-Language fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Connection keep-alive
Content-Length 482
Content-Type application/json
Cookie mage-translation-storage=%7B%7D; mage-translation-file-version=%7B%7D; __utma=123854227.1859157111.1496161968.1496842312.1496847631.3; __utmz=123854227.1496847631.3.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); _ga=GA1.2.1859157111.1496161968; private_content_version=3cd2bf0b4e0c09534d9f803cabc07884; PHPSESSID=js7gfc5llp0ten5436ahsjh3o0; StoreSelector=storeselected; form_key=4ea0chhNjRwll5uC; _gid=GA1.2.1080026318.1506964584; X-Magento-Vary=c1bb9c6672715ebd2df6a482ac3205c192756cf4; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; mage-cache-sessid=true; section_data_ids=%7B%22directory-data%22%3A1506969329%2C%22customer%22%3A1506969329%2C%22compare-products%22%3A1506969329%2C%22last-ordered-items%22%3A1506969329%2C%22cart%22%3A1506970759%2C%22review%22%3A1506969329%2C%22wishlist%22%3A1506969329%2C%22recently_viewed_product%22%3A1506969329%2C%22recently_compared_product%22%3A1506969329%2C%22product_data_storage%22%3A1506969329%2C%22paypal-billing-agreement%22%3A1506969329%2C%22messages%22%3A1506970808%7D; mage-messages=; recently_viewed_product=%7B%7D; recently_viewed_product_previous=%7B%7D; recently_compared_product=%7B%7D; recently_compared_product_previous=%7B%7D; product_data_storage=%7B%7D
Host my-domain.com
Referer https://my-domain.com/europe/checkout/
User-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
X-Requested-With XMLHttpRequest

POST
cartId"59377d6c473b5306670f6424559b546a"billingAddress{…}paymentMethod{…}email"david@hotmail.com"
{"cartId":"59377d6c473b5306670f6424559b546a","billingAddress":{"countryId":"FR","regionId":"257","regionCode":"75","region":"Paris","street":["2 rue d Espagne"],"company":"","telephone":"0622434841","postcode":"75015","city":"Paris","firstname":"David","lastname":"Porre","extension_attributes":{"colissimo_network_code":null,"colissimo_pickup_id":null},"saveInAddressBook":null},"paymentMethod":{"method":"pbxep_cb","additional_data":{"cc_type":"EUROCARD_MASTERCARD"}},"email":"david@hotmail.com"}

RESPONSE
message"Unable to save address. Please check input data."
{"message":"Unable to save address. Please check input data."}

I tried with 2 payment sytems, and 2 shipping methods to be sure it was not coming from them.
I have a custom module handling customer custom attributes, I uninstalled it to check if it could cause the issue.

Hoping for some help here..

Best regards,
David

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions