Skip to content

Invalid address suggestion [graphql?] #13819

@john-ko

Description

@john-ko

Summary

in short, prob wrong place to put this but i am a paying customer to a couple of stores that use shopify, i had to cancel couple orders
When i enter my address (a new build) it will suggest a different address (an addresses that doesn't even exist) and didnt noticed it updated my shipping address (even though billing is the same) to different address

i followed it to this endpoint https://atlas.shopifysvc.com/graphql

example json with redacted personal info

{
    "data": {
        "validation": {
            "validationScope": [
                "country_code",
                "province_code",
                "zip",
                "city",
                "address1"
            ],
            "locale": "en-US",
            "fields": [
                {
                    "name": "address1",
                    "value": "REDACTED_VALID_ADDRESS"
                },
                {
                    "name": "address2",
                    "value": ""
                },
                {
                    "name": "city",
                    "value": "REDACTED_CITY"
                },
                {
                    "name": "country_code",
                    "value": "US"
                },
                {
                    "name": "province_code",
                    "value": "CA"
                },
                {
                    "name": "zip",
                    "value": "REDACTED_VALID_ZIP"
                },
                {
                    "name": "phone",
                    "value": "REDACTED_VALID_PHONE"
                }
            ],
            "concerns": [
                {
                    "fieldNames": [
                        "address1"
                    ],
                    "code": "street_inconsistent",
                    "type": "WARNING",
                    "typeLevel": 3,
                    "suggestionIds": [
                        "ea300905-a903-5d08-901d-788378f63f1a"
                    ],
                    "message": "Address line 1 may be incorrect"
                }
            ],
            "id": "3239ebdd-dda9-4df8-b36b-ed50276caba0",
            "suggestions": [
                {
                    "id": "ea300905-a903-5d08-901d-788378f63f1a",
                    "address1": "REDACTED_INCORRECT_ADDRESS",
                    "streetName": null,
                    "streetNumber": null,
                    "address2": null,
                    "line2": null,
                    "neighborhood": null,
                    "city": null,
                    "zip": null,
                    "provinceCode": null,
                    "province": null,
                    "countryCode": null
                }
            ]
        }
    }
}

if you need more information i can contact through support to provide screenshots

Expected behavior

Given when I provide my address (new build)
When I enter my address
I expect the not an invalid address to be suggested and submitted when checking out

Actual behavior

  • offers a suggested address (even if that address DNE)
  • after checkout (address has been updated to wrong address)

Steps to reproduce

Link to sandbox
1.
2.
3.

Are you using React components?

None

Polaris version number

No response

Browser

No response

Device

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken and not working as intended in the system.untriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions