Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter psluword

    (@psluword)

    Thread Starter psluword

    (@psluword)

    Hi @drwpcom — looking into this more, it turns out we are using a streamlined checkout form that doesn’t require the user to enter their billing address, just their name/email/phone and a shipping address. I assume this is the issue, but we haven’t had any issues with users submitting payments, simply with saving their cards to their account.

    But for reference, as requested, here is the relevant data from one such failed charge:

    06-21-2020 @ 13:05:30 - Status code BAD_REQUEST: The postal code in billing address doesn't match the one used for card nonce creation.
    06-21-2020 @ 13:06:25 - Square.js Response:
     Array
    (
        [digital_wallet_type] => NONE
        [card_brand] => VISA
        [last_4] => XXXX
        [exp_month] => X
        [exp_year] => XXXX
        [billing_postal_code] => 37311
    )
    
    06-21-2020 @ 13:06:27 - Request
    method:
    uri: createCustomerWithHttpInfo
    user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.2.0; WordPress/5.4.2)
    headers: Array
    (
    )
    body: {
        "given_name": "XXXXXXX",
        "family_name": "XXXXXX",
        "company_name": "",
        "email_address": "[email protected]",
        "address": {
            "address_line_1": "",
            "address_line_2": "",
            "locality": "",
            "administrative_district_level_1": "",
            "postal_code": "",
            "country": "US",
            "first_name": "XXXXXXX",
            "last_name": "XXXXXX",
            "organization": ""
        },
        "phone_number": "XXXXXXXXXX",
        "reference_id": "56"
    }
    Thread Starter psluword

    (@psluword)

    Hi @drwpcom, thanks for getting back to me. It is, luckily, a repeat customer, so I’ll try to get them to give me some more details next time they try to order.

    Unfortunately though, I’ve now gotten this same error with 2 additional customers over the last few days. I haven’t confirmed whether or not they were trying to save their card, but either way it seems a bit unusual that they all would have entered spaces into the zip code field in Square. But without watching over their shoulder, I’m not sure how to tell if it’s truly (multiple) user error or not.

    Is there any way to tell from my end how the zip code was entered into the payment section? For all of these failed orders, the customers only used 5 digits on the WooCommerce fields, so it seems like they would probably just enter it the same way for the card.

    • This reply was modified 4 years, 5 months ago by psluword. Reason: Clarification
    Thread Starter psluword

    (@psluword)

    That seems to have fixed it. Thank you very much!

    • This reply was modified 4 years, 8 months ago by psluword. Reason: Marking as resolved
Viewing 4 replies - 1 through 4 (of 4 total)