Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    I did some testing on this using my test site, and was not able to replicate this (all testing using sandbox account with the test cards succeeded).

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
     
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter dharmeshsb

    (@dharmeshsb)

    Hi, I’ve gone to my staging site used storefront and only kept square and woocommerce running as plugins and I’ve had no success.

    Here is the message that comes up in the logs. Only problem is EU testing cards. Nothing comes up to ask for verification code.

    Log message:
    05-26-2020 @ 21:10:00 – Request
    method:
    uri: retrieveCustomerWithHttpInfo/RZ850RN814TVV2GRNBZ0EZE9JM
    user-agent: WooCommerce-Square/2.1.5 (WooCommerce/4.1.1; WordPress/5.4.1)
    headers: Array
    (
    )
    body:
    duration: 0.57602s

    05-26-2020 @ 21:10:00 – Response
    code: 200
    message:
    headers: Array
    (
    [0] => HTTP/2 200
    [content-type] => application/json
    [square-version] => 2019-08-14
    [vary] => Origin, Accept-Encoding
    [x-content-type-options] => nosniff
    [x-download-options] => noopen
    [x-frame-options] => SAMEORIGIN
    [x-permitted-cross-domain-policies] => none
    [x-xss-protection] => 1; mode=block
    [date] => Tue, 26 May 2020 21:10:00 GMT
    [content-length] => 522
    [strict-transport-security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
    “customer”: {
    “id”: “RZ850RN814TVV2GRNBZ0EZE9JM”,
    “created_at”: “2020-05-26T09:49:35.052Z”,
    “updated_at”: “2020-05-26T09:49:35Z”,
    “given_name”: “Dharmesh”,
    “family_name”: “Suraj Bali”,
    “email_address”: “dsurajbali@gmail.com”,
    “address”: {
    “address_line_1”: “Flat 3A”,
    “address_line_2”: “19 Birdhurst Road”,
    “locality”: “South Croydon”,
    “administrative_district_level_1”: “Surrey”,
    “postal_code”: “CR2 7EF”,
    “country”: “GB”
    },
    “phone_number”: “07946267221”,
    “reference_id”: “1”,
    “preferences”: {
    “email_unsubscribed”: false
    },
    “creation_source”: “THIRD_PARTY”
    }
    }

    05-26-2020 @ 21:11:40 – Square.js Response:
    Array
    (
    [digital_wallet_type] => NONE
    [card_brand] => MASTERCARD
    [last_4] => 1016
    [exp_month] => 12
    [exp_year] => 2020
    [billing_postal_code] => SW1A 2AA
    )

    05-26-2020 @ 21:11:41 – Square.js Response:
    Array
    (
    [message] => The verification was not successful
    [type] => VERIFICATION_NOT_SUCCESSFUL
    )

    Thread Starter dharmeshsb

    (@dharmeshsb)

    I’ve tried changing postcode to SW1A 2AA as well. Doesn’t work. On the notes for square documentation, they have this but no SMS is sent or shown: When testing the SCA flow with one of the European Union test cards, the Verification Code simulates the SMS verification code sent to the buyer mobile phone during an actual transaction.

    https://developer.squareup.com/docs/testing/test-values

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘EU test cards not working’ is closed to new replies.