• Resolved silb3r

    (@silb3r)


    I have tried Apple Pay using Stripe and it works, but when using Square I can’t complete a successful checkout. The Apple Pay dialog on a macOS simply says “Payment Not Completed.”

    Here is a console output from *BEFORE* I click the Apple Pay button: https://i.imgur.com/0HyOECa.jpg

    When I click the payment button, the console displays a InvalidAccessError: Page already has an active payment session. error in the console which you can see here: https://i.imgur.com/NylEYv4.jpg

    The final result: https://i.imgur.com/yqi9wAJ.png

    This happens in live mode *AND* sandbox mode.

    1. System Status Report:

    
    ### WordPress Environment ###
    
    WC Version: 5.2.2
    REST API Version: ✔ 5.2.2
    WC Blocks Version: ✔ 4.7.2
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.1.5
    Log Directory Writable: ✔
    WP Version: 5.7.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.16
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.33-36-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.2.2
    WC Database Prefix: wp_
    Total Database Size: 88.81MB
    Database Data Size: 55.72MB
    Database Index Size: 33.09MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.45MB + Index: 0.34MB + Engine InnoDB
    wp_as3cf_items: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wp_aws_index: Data: 0.39MB + Index: 0.23MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_ewwwio_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 13.39MB + Index: 0.34MB + Engine InnoDB
    wp_postmeta: Data: 21.55MB + Index: 15.06MB + Engine InnoDB
    wp_posts: Data: 2.52MB + Index: 0.70MB + Engine InnoDB
    wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_stream: Data: 2.52MB + Index: 2.14MB + Engine InnoDB
    wp_stream_meta: Data: 5.52MB + Index: 10.55MB + Engine InnoDB
    wp_termmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.41MB + Index: 0.23MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 0.44MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_square_customers: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
    wp_woo_square_integration_deleted_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woo_square_integration_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wprm_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wprm_ratings: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.45MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.11MB + Index: 0.19MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 202
    acf-field-group: 31
    attachment: 1165
    career: 2
    customize_changeset: 18
    editorial: 22
    market: 10
    nav_menu_item: 67
    oembed_cache: 2
    page: 18
    post: 5
    press-mention: 21
    product: 108
    product_variation: 191
    q-and-a: 1
    recipe: 19
    revision: 1479
    shop_coupon: 1
    shop_order: 69
    shop_order_refund: 1
    shop_subscription: 2
    wprm_recipe: 21
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (24) ###
    
    Advanced Custom Fields: Font Awesome: by mattkeys – 3.1.1
    Advanced Custom Fields PRO: by Elliot Condon – 5.9.5
    Advanced Woo Search: by ILLID – 2.25
    WP Engine Smart Plugin Manager: by WP Engine – 4.15.6
    CheckoutWC: by Objectiv – 4.3.3
    Custom Post Type UI: by WebDevStudios – 1.9.1
    Gift Up!: by Gift Up! – 2.10.1
    Gravity Forms: by Gravity Forms – 2.4.21
    Klaviyo: by Klaviyo
    Inc. – 2.4.1
    
    Products By Attributes & Variations for WooCommerce: by Addify – 1.2.7 (update to version 1.3.1 is available)
    Safe SVG: by Daryll Doyle – 1.9.9
    Stream: by XWP – 3.6.2
    WooCommerce Additional Variation Images: by WooCommerce – 1.9.0
    WooCommerce Out of Stock! Manager: by Lagudi Domenico – 4.5
    WooCommerce Shipping & Tax: by Automattic – 1.25.11 (update to version 1.25.12 is available)
    WooCommerce FedEx Shipping: by WooCommerce – 3.4.33
    WooCommerce USPS Shipping: by WooCommerce – 4.4.50
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.42
    WooCommerce Square: by WooCommerce – 2.4.1
    WooCommerce Subscriptions: by WooCommerce – 3.0.15
    WooCommerce: by Automattic – 5.2.2
    Yoast SEO: by Team Yoast – 16.1.1
    WP Recipe Maker: by Bootstrapped Ventures – 7.2.0
    WP Engine Automated Migration: by WPEngine – 4.55
    
    ### Inactive Plugins (13) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.9
    eCommerce Store Optimizer: by StudioPress Team – 0.6.2
    ElasticPress: by 10up – 3.5.6
    Flying Pages by WP Speed Matters: by Gijo Varghese – 2.4.2
    Genesis Blocks Pro: by WP Engine – 1.3.0
    Jetpack by WordPress.com: by Automattic – 9.6.1
    Query Monitor: by John Blackbourn – 3.6.7
    Relevanssi: by Mikko Saari – 4.12.5
    ShortPixel Image Optimizer: by ShortPixel – 4.21.2
    Square Recurring / Simple Payments For WooCommerce Subscriptions: by Apiexperts – 2.1.8
    User Role Editor: by Vladimir Garagulya – 4.59
    WooCommerce Payments: by Automattic – 2.2.0 (update to version 2.3.2 is available)
    WooSquare Pro: by wpexperts.io – 6.8.4
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (4) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.6.4
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 4.1.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: ✔
    
    ### WC Pages ###
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #531 - /faq/
    
    ### Theme ###
    
    Name: SJ
    Version: 1.0
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: sj/woocommerce/emails/email-styles.php
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscription Statuses: wc-active: 1
    wc-pending-cancel: 1
    
    WooCommerce Account Connected: ✔ Yes
    Active Product Key: ❌ No
    Custom Retry Rules: ✔ No
    Custom Retry Rule Class: ✔ No
    Custom Raw Retry Rule: ✔ No
    Custom Retry Rule: ✔ No
    Retries Migration Status: ✔ Completed
    Report Cache Enabled: ✔ Yes
    Cache Update Failures: ✔ 0 failure
    
    ### Store Setup ###
    
    Country / State: United States (US) — California
    
    ### Subscriptions by Payment Gateway ###
    
    Square: wc-active: 1
    wc-pending-cancel: 1
    
    ### Payment Gateway Support ###
    
    PayPal Standard: subscriptions
    gateway_scheduled_payments
    subscription_payment_method_change_customer
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    products
    refunds
    
    PayPal Reference Transactions Enabled: ❌ No
    Square: products
    card_types
    customer_decline_messages
    payment_form
    authorization
    charge
    charge-virtual
    capture_charge
    refunds
    voids
    customer_id
    tokenization
    add_payment_method
    token_editor
    subscriptions
    subscription_suspension
    subscription_cancellation
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    multiple_subscriptions
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    
    ### Square ###
    
    Environment: Production
    Tokenization Enabled: ✔
    Debug Mode: Display at Checkout & Log
    
    ### Action Scheduler ###
    
    Complete: 1,908
    Oldest: 2021-03-29 20:04:36 -0400
    Newest: 2021-04-28 13:27:09 -0400
    
    Pending: 4
    Oldest: 2021-04-28 14:27:09 -0400
    Newest: 2021-05-27 15:31:51 -0400
    
    ### Status report information ###
    
    Generated at: 2021-04-28 13:46:10 -04:00
    

    2. A screenshot of Square settings (WooCommerce > Settings > Square > Settings): https://i.imgur.com/AI3ISv8.png

    3. Square Logs: (square_credit_card-2021-04-28-e2e7f05fb402bf20da273590f3c641b0.log)

    
    04-27-2021 @ 20:23:47 - Payment nonce is missing
    04-27-2021 @ 20:44:43 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/JHN8G0RCH4R1Z4G3F3PRY5N4EM
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.31488s
    
    04-27-2021 @ 20:44:43 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 00:44:43 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 724
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "JHN8G0RCH4R1Z4G3F3PRY5N4EM",
            "created_at": "2021-04-27T21:42:12.869Z",
            "updated_at": "2021-04-27T21:42:12Z",
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "reference_id": "69",
            "preferences": {
                "email_unsubscribed": false
            },
            "groups": [
                {
                    "id": "MLM7PE7FB7JXS.REACHABLE",
                    "name": "Reachable"
                },
                {
                    "id": "gv2:MPZ7SJ8J3N7DSAKG9KWWKBY9RM",
                    "name": "Email Subscribers"
                }
            ],
            "creation_source": "THIRD_PARTY"
        }
    }
    
    04-27-2021 @ 21:20:53 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/KB8RXBF524T018B2SW0D0KB2HM
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.28622s
    
    04-27-2021 @ 21:20:53 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 01:20:52 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 716
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "KB8RXBF524T018B2SW0D0KB2HM",
            "created_at": "2021-04-27T18:59:27.138Z",
            "updated_at": "2021-04-27T18:59:27Z",
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "reference_id": "68",
            "preferences": {
                "email_unsubscribed": false
            },
            "groups": [
                {
                    "id": "MLM7PE7FB7JXS.REACHABLE",
                    "name": "Reachable"
                },
                {
                    "id": "gv2:MPZ7SJ8J3N7DSAKG9KWWKBY9RM",
                    "name": "Email Subscribers"
                }
            ],
            "creation_source": "THIRD_PARTY"
        }
    }
    
    04-27-2021 @ 21:25:00 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.29316s
    
    04-27-2021 @ 21:25:00 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 01:25:00 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-27-2021 @ 21:49:09 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.22671s
    
    04-27-2021 @ 21:49:09 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 01:49:09 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-27-2021 @ 21:49:13 - Square.js Response:
     Array
    (
        [digital_wallet_type] => NONE
        [card_brand] => AMERICAN_EXPRESS
        [last_4] => 1002
        [exp_month] => 3
        [exp_year] => 2026
        [billing_postal_code] => 94583
    )
    
    04-27-2021 @ 21:49:16 - Request
    method:
    uri: createCustomerWithHttpInfo
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "given_name": "XXXXXX",
        "family_name": "XXXXXX",
        "company_name": "",
        "email_address": "XXXXXX",
        "address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Cassandra",
            "last_name": "Lopez",
            "organization": ""
        },
        "phone_number": "XXXXXX",
        "reference_id": "70"
    }
    duration: 0.38913s
    
    04-27-2021 @ 21:49:16 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 01:49:15 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 534
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "XWCH34VGDMRFN0F3JVW897H1VM",
            "created_at": "2021-04-28T01:49:15.837Z",
            "updated_at": "2021-04-28T01:49:15Z",
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "reference_id": "70",
            "preferences": {
                "email_unsubscribed": false
            },
            "creation_source": "THIRD_PARTY"
        }
    }
    
    04-27-2021 @ 21:49:16 - Request
    method:
    uri: createOrderWithHttpInfo/LBXB4JP8J7R9G
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "order": {
            "reference_id": "5422",
            "customer_id": "XWCH34VGDMRFN0F3JVW897H1VM",
            "line_items": [
                {
                    "name": "Sweet Mornings Tea",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    }
                },
                {
                    "name": "Roller and Gua Sha Set",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 4900,
                        "currency": "USD"
                    }
                },
                {
                    "name": "Priority Mail Flat Rate®",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    }
                }
            ],
            "taxes": []
        },
        "idempotency_key": "11728863025e797297f2e08a52a2da6e06a27b12:1619574555-5422-0"
    }
    duration: 0.24558s
    
    04-27-2021 @ 21:49:16 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 01:49:16 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json;charset=utf-8
        [Square-Version] => 2019-08-14
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 2153
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "order": {
            "id": "IonQDmtdDOonYCTKubNwEhA7YtIZY",
            "location_id": "LBXB4JP8J7R9G",
            "reference_id": "5422",
            "source": {
                "name": "WooCommerce"
            },
            "customer_id": "XWCH34VGDMRFN0F3JVW897H1VM",
            "line_items": [
                {
                    "uid": "ofSIKU4YP463jboNKQGI0C",
                    "name": "Sweet Mornings Tea",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 1800,
                        "currency": "USD"
                    }
                },
                {
                    "uid": "1D7GcGUtjWJ4DQ5nZhuMc",
                    "name": "Roller and Gua Sha Set",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 4900,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 4900,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 4900,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 4900,
                        "currency": "USD"
                    }
                },
                {
                    "uid": "GLRLKy8oYCm1VkXY9HYmCD",
                    "name": "Priority Mail Flat Rate®",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 845,
                        "currency": "USD"
                    }
                }
            ],
            "net_amounts": {
                "total_money": {
                    "amount": 7545,
                    "currency": "USD"
                },
                "tax_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "discount_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "tip_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "service_charge_money": {
                    "amount": 0,
                    "currency": "USD"
                }
            },
            "created_at": "2021-04-28T01:49:16.397Z",
            "updated_at": "2021-04-28T01:49:16.397Z",
            "state": "OPEN",
            "version": 1,
            "total_money": {
                "amount": 7545,
                "currency": "USD"
            },
            "total_tax_money": {
                "amount": 0,
                "currency": "USD"
            },
            "total_discount_money": {
                "amount": 0,
                "currency": "USD"
            },
            "total_service_charge_money": {
                "amount": 0,
                "currency": "USD"
            }
        }
    }
    
    04-27-2021 @ 21:49:17 - Request
    method:
    uri: createPaymentWithHttpInfo
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "source_id": "cnon:CBESELKo6I106rTPYkoou62RYew",
        "idempotency_key": "11728863025e797297f2e08a52a2da6e06a27b12",
        "amount_money": {
            "amount": 7545,
            "currency": "USD"
        },
        "autocomplete": true,
        "order_id": "IonQDmtdDOonYCTKubNwEhA7YtIZY",
        "customer_id": "XWCH34VGDMRFN0F3JVW897H1VM",
        "location_id": "LBXB4JP8J7R9G",
        "reference_id": "5422",
        "buyer_email_address": "cassandramarie8@yahoo.com",
        "billing_address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Cassandra",
            "last_name": "Lopez",
            "organization": ""
        },
        "shipping_address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Cassandra",
            "last_name": "Lopez"
        },
        "note": "Sweet July - Order 5422"
    }
    duration: 1.31519s
    
    04-27-2021 @ 21:49:17 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 01:49:16 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 1952
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "payment": {
            "id": "JyB7xfKQ8s3KochZV7Nwnfg9YLDZY",
            "created_at": "2021-04-28T01:49:16.864Z",
            "updated_at": "2021-04-28T01:49:17.705Z",
            "amount_money": {
                "amount": 7545,
                "currency": "USD"
            },
            "total_money": {
                "amount": 7545,
                "currency": "USD"
            },
            "status": "COMPLETED",
            "source_type": "CARD",
            "card_details": {
                "status": "CAPTURED",
                "card": {
                    "card_brand": "AMERICAN_EXPRESS",
                    "last_4": "1002",
                    "exp_month": 3,
                    "exp_year": 2026,
                    "fingerprint": "sq-1-RtFJiY152Dw_cE9Sz0JIVONO5UpwcErzlF8NMMzeOTfSbXlM5EcxQxIBT7hn2W5Dgg"
                },
                "entry_method": "KEYED",
                "cvv_status": "CVV_ACCEPTED",
                "avs_status": "AVS_ACCEPTED",
                "auth_result_code": "290670"
            },
            "location_id": "LBXB4JP8J7R9G",
            "order_id": "IonQDmtdDOonYCTKubNwEhA7YtIZY",
            "reference_id": "5422",
            "customer_id": "XWCH34VGDMRFN0F3JVW897H1VM",
            "buyer_email_address": "cassandramarie8@yahoo.com",
            "billing_address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
                "first_name": "Cassandra",
                "last_name": "Lopez"
            },
            "shipping_address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
                "first_name": "Cassandra",
                "last_name": "Lopez"
            },
            "note": "Sweet July - Order 5422"
        }
    }
    
    04-27-2021 @ 21:49:21 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/XWCH34VGDMRFN0F3JVW897H1VM
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.33569s
    
    04-27-2021 @ 21:49:21 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 01:49:21 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 745
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "XWCH34VGDMRFN0F3JVW897H1VM",
            "created_at": "2021-04-28T01:49:15.837Z",
            "updated_at": "2021-04-28T01:49:15Z",
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "reference_id": "70",
            "preferences": {
                "email_unsubscribed": false
            },
            "groups": [
                {
                    "id": "MLM7PE7FB7JXS.REACHABLE",
                    "name": "Reachable"
                },
                {
                    "id": "gv2:MPZ7SJ8J3N7DSAKG9KWWKBY9RM",
                    "name": "Email Subscribers"
                }
            ],
            "creation_source": "THIRD_PARTY"
        }
    }
    
    04-27-2021 @ 21:49:41 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.19841s
    
    04-27-2021 @ 21:49:41 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 01:49:41 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-27-2021 @ 23:12:50 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.24068s
    
    04-27-2021 @ 23:12:50 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 03:12:50 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-28-2021 @ 09:17:00 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.22554s
    
    04-28-2021 @ 09:17:00 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 13:17:00 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-28-2021 @ 10:23:44 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/BHCYNQRKAGZJ1C3EE71DCBMNCC
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.29366s
    
    04-28-2021 @ 10:23:44 - Response
    code: 404
    message:
    headers: Array
    (
        [0] => HTTP/1.1 404 Not Found
        [Date] => Wed, 28 Apr 2021 14:23:43 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Content-Length] => 141
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: Array
    (
        [errors] => Array
            (
                [0] => stdClass Object
                    (
                        [code] => NOT_FOUND
                        [detail] => Customer with ID <code>BHCYNQRKAGZJ1C3EE71DCBMNCC</code> not found.
                        [category] => INVALID_REQUEST_ERROR
                    )
    
            )
    
    )
    
    04-28-2021 @ 12:27:40 - Square.js Response:
     Array
    (
        [digital_wallet_type] => NONE
        [card_brand] => VISA
        [last_4] => 9993
        [exp_month] => 4
        [exp_year] => 2022
        [billing_postal_code] => 90801
    )
    
    04-28-2021 @ 12:27:41 - Request
    method:
    uri: createCustomerWithHttpInfo
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "given_name": "XXXXXX",
        "family_name": "XXXXXX",
        "company_name": "",
        "email_address": "XXXXXX",
        "address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Tonya",
            "last_name": "Baysmore",
            "organization": ""
        },
        "phone_number": "XXXXXX",
    }
    duration: 0.46137s
    
    04-28-2021 @ 12:27:41 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 16:27:41 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 474
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "1E8CSPY1ZCZFV9NG91EC1B5JDG",
            "created_at": "2021-04-28T16:27:41.221Z",
            "updated_at": "2021-04-28T16:27:41Z",
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "preferences": {
                "email_unsubscribed": false
            },
            "creation_source": "THIRD_PARTY"
        }
    }
    
    04-28-2021 @ 12:27:41 - Request
    method:
    uri: createOrderWithHttpInfo/LBXB4JP8J7R9G
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "order": {
            "reference_id": "5427",
            "customer_id": "1E8CSPY1ZCZFV9NG91EC1B5JDG",
            "line_items": [
                {
                    "name": "Sweet July Magazine",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 999,
                        "currency": "USD"
                    }
                },
                {
                    "name": "54 Thrones Alata Samina Black Soap Detox Bar",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 1400,
                        "currency": "USD"
                    }
                },
                {
                    "name": "Sweet Mornings Tea",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    }
                },
                {
                    "name": "Priority Mail Flat Rate®",
                    "quantity": "1",
                    "applied_taxes": [],
                    "base_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    }
                }
            ],
            "taxes": []
        },
        "idempotency_key": "3933d7c71df21bcefbf07396e6b7d64d78486286:1619627260-5427-0"
    }
    duration: 0.22198s
    
    04-28-2021 @ 12:27:41 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 16:27:41 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json;charset=utf-8
        [Square-Version] => 2019-08-14
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 2603
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "order": {
            "id": "MwyqaojNk88jcenPeU7PiWAmxgNZY",
            "location_id": "LBXB4JP8J7R9G",
            "reference_id": "5427",
            "source": {
                "name": "WooCommerce"
            },
            "customer_id": "1E8CSPY1ZCZFV9NG91EC1B5JDG",
            "line_items": [
                {
                    "uid": "8FGtvuqpbYWjCq2tEGhQf",
                    "name": "Sweet July Magazine",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 999,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 999,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 999,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 999,
                        "currency": "USD"
                    }
                },
                {
                    "uid": "d8PfeJr3q8hFIiYpPh6yu",
                    "name": "54 Thrones Alata Samina Black Soap Detox Bar",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 1400,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 1400,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 1400,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 1400,
                        "currency": "USD"
                    }
                },
                {
                    "uid": "0dPqs9ZOgTGs3daxDjJrXC",
                    "name": "Sweet Mornings Tea",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 1800,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 1800,
                        "currency": "USD"
                    }
                },
                {
                    "uid": "8UMWfGKAGgRnRki40jeGR",
                    "name": "Priority Mail Flat Rate®",
                    "quantity": "1",
                    "base_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "variation_total_price_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "gross_sales_money": {
                        "amount": 845,
                        "currency": "USD"
                    },
                    "total_tax_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_discount_money": {
                        "amount": 0,
                        "currency": "USD"
                    },
                    "total_money": {
                        "amount": 845,
                        "currency": "USD"
                    }
                }
            ],
            "net_amounts": {
                "total_money": {
                    "amount": 5044,
                    "currency": "USD"
                },
                "tax_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "discount_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "tip_money": {
                    "amount": 0,
                    "currency": "USD"
                },
                "service_charge_money": {
                    "amount": 0,
                    "currency": "USD"
                }
            },
            "created_at": "2021-04-28T16:27:41.677Z",
            "updated_at": "2021-04-28T16:27:41.677Z",
            "state": "OPEN",
            "version": 1,
            "total_money": {
                "amount": 5044,
                "currency": "USD"
            },
            "total_tax_money": {
                "amount": 0,
                "currency": "USD"
            },
            "total_discount_money": {
                "amount": 0,
                "currency": "USD"
            },
            "total_service_charge_money": {
                "amount": 0,
                "currency": "USD"
            }
        }
    }
    
    04-28-2021 @ 12:27:43 - Request
    method:
    uri: createPaymentWithHttpInfo
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body: {
        "source_id": "cnon:CBASEPhASOfoDIRmljJa5oqMGWQ",
        "idempotency_key": "3933d7c71df21bcefbf07396e6b7d64d78486286",
        "amount_money": {
            "amount": 5044,
            "currency": "USD"
        },
        "autocomplete": true,
        "order_id": "MwyqaojNk88jcenPeU7PiWAmxgNZY",
        "customer_id": "1E8CSPY1ZCZFV9NG91EC1B5JDG",
        "location_id": "LBXB4JP8J7R9G",
        "reference_id": "5427",
        "buyer_email_address": "ms.tonya23@gmail.com",
        "billing_address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Tonya",
            "last_name": "Baysmore",
            "organization": ""
        },
        "shipping_address": {
            "address_line_1": "XXX",
            "address_line_2": "XXX",
            "locality": "XXX",
            "administrative_district_level_1": "XX",
            "postal_code": "XXX",
            "country": "XXX"
            "first_name": "Betty",
            "last_name": "Baysmore"
        },
        "note": "Sweet July - Order 5427"
    }
    duration: 1.78789s
    
    04-28-2021 @ 12:27:43 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 16:27:41 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 1919
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "payment": {
            "id": "FAlPWwy8OKbYAVBGfKzYFIQffJZZY",
            "created_at": "2021-04-28T16:27:42.152Z",
            "updated_at": "2021-04-28T16:27:43.490Z",
            "amount_money": {
                "amount": 5044,
                "currency": "USD"
            },
            "total_money": {
                "amount": 5044,
                "currency": "USD"
            },
            "status": "COMPLETED",
            "source_type": "CARD",
            "card_details": {
                "status": "CAPTURED",
                "card": {
                    "card_brand": "VISA",
                    "last_4": "9993",
                    "exp_month": 4,
                    "exp_year": 2022,
                    "fingerprint": "sq-1-FVFW4yJ3eIg7JmdvsaCYx8pV_avN7m5x1OT57ffCRLQ0Vt5n7becOlsQqsNHmLavSg"
                },
                "entry_method": "KEYED",
                "cvv_status": "CVV_ACCEPTED",
                "avs_status": "AVS_ACCEPTED",
                "auth_result_code": "058725"
            },
            "location_id": "LBXB4JP8J7R9G",
            "order_id": "MwyqaojNk88jcenPeU7PiWAmxgNZY",
            "reference_id": "5427",
            "customer_id": "1E8CSPY1ZCZFV9NG91EC1B5JDG",
            "buyer_email_address": "ms.tonya23@gmail.com",
            "billing_address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
                "first_name": "Tonya",
                "last_name": "Baysmore"
            },
            "shipping_address": {
                "address_line_1": "XXX",
                "address_line_2": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
                "first_name": "Betty",
                "last_name": "Baysmore"
            },
            "note": "Sweet July - Order 5427"
        }
    }
    
    04-28-2021 @ 13:45:37 - Request
    method:
    uri: retrieveCustomerWithHttpInfo/FSXVHFQ5ARVPD24PM4AQ94CEK8
    user-agent: WooCommerce-Square/2.4.1 (WooCommerce/5.2.2; WordPress/5.7.1)
    headers: Array
    (
    )
    body:
    duration: 0.49808s
    
    04-28-2021 @ 13:45:37 - Response
    code: 200
    message:
    headers: Array
    (
        [0] => HTTP/1.1 200 OK
        [Date] => Wed, 28 Apr 2021 17:45:37 GMT
        [Frame-Options] => DENY
        [X-Frame-Options] => DENY
        [X-Content-Type-Options] => nosniff
        [X-Xss-Protection] => 1; mode=block
        [Content-Type] => application/json
        [Square-Version] => 2019-08-14
        [Squareup--Connect--V2--Common--Versionmetadata-Bin] => CgoyMDE5LTA4LTE0
        [Vary] => Accept-Encoding, User-Agent
        [Content-Length] => 1214
        [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload
    )
    body: {
        "customer": {
            "id": "FSXVHFQ5ARVPD24PM4AQ94CEK8",
            "created_at": "2021-04-23T18:40:02.586Z",
            "updated_at": "2021-04-23T18:40:02Z",
            "cards": [
                {
                    "id": "ccof:EC8EqFxJB0kDBEcP3GB",
                    "card_brand": "AMERICAN_EXPRESS",
                    "last_4": "6009",
                    "exp_month": 11,
                    "exp_year": 2024,
                    "cardholder_name": "Danielle Iturbe",
                    "billing_address": {
                        "address_line_1": "XXX",
                        "address_line_2": "XXX",
                        "locality": "XXX",
                        "administrative_district_level_1": "XX",
                        "postal_code": "XXX",
                        "country": "XXX"
                    }
                }
            ],
            "given_name": "XXXXXX",
            "family_name": "XXXXXX",
            "email_address": "XXXXXX",
            "address": {
                "address_line_1": "XXX",
                "locality": "XXX",
                "administrative_district_level_1": "XX",
                "postal_code": "XXX",
                "country": "XXX"
            },
            "phone_number": "XXXXXX",
            "reference_id": "6",
            "preferences": {
                "email_unsubscribed": false
            },
            "groups": [
                {
                    "id": "MLM7PE7FB7JXS.CARDS_ON_FILE",
                    "name": "Cards on File"
                },
                {
                    "id": "MLM7PE7FB7JXS.LOYAL",
                    "name": "Regulars"
                },
                {
                    "id": "MLM7PE7FB7JXS.REACHABLE",
                    "name": "Reachable"
                },
                {
                    "id": "gv2:MPZ7SJ8J3N7DSAKG9KWWKBY9RM",
                    "name": "Email Subscribers"
                }
            ],
            "creation_source": "THIRD_PARTY"
        }
    }
    
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter silb3r

    (@silb3r)

    I just want to update the thread and let you know that the results are identical when I switched the theme to Storefront and disabled all plugins except for WooCommerce and Square.

    Hi @silb3r! Your client contacted us in chat and I added you to our existing email ticket about this issue. I’ll also update the ticket accordingly with the information you posted here. Let’s communicate about this in the ticket going forward. Thanks!

    Thread Starter silb3r

    (@silb3r)

    Ok, but I’d like to post the resolution here in case anyone else encounters the same issue.

    Hi @silb3r,

    Absolutely, feel free to post the solution here once we’ve sorted out what’s going on!

    Thanks so much for thinking about the community in that way 🙂

    I WANT TO REMOVE THE “PAY WITH G PAY” BUTTON that is on the checkout page!

    I know this is attached to the woocommerce square plugin because i deactivated it and it disappeared. I reactivated it and it is back. I have looked everywhere to remove the “pay with G pay” button but i cannot find it. how do i remove it?

    Plugin Support Gui A. a11n

    (@guicmazeredo)

    Hi @silb3r and @apmwebdev I have the same problem
    I have tried Apple Pay using Stripe and it works, but the Apple Pay dialog on a macOS simply says “Payment Not Completed.”.
    When I click the payment button, the console displays also a :
    InvalidAccessError: Page already has an active payment session.

    I see that the problem is resolved. Can help me for the solution ?

    I use Woocommerce + Woocommerce Subscription + Woocommerce Stripe Gateway as you tell it in your post. Thanks

    Thread Starter silb3r

    (@silb3r)

    Please unmark this as resolved.

    This issue is NOT resolved.

    We’ve been cooperating fully but haven’t heard any reply from the Woo team on this at all.

    Despite two recent updates to the plugin this issue is still unresolved.

    Issues like this are pushing more and more clients to Shopify and I don’t blame them.

    • This reply was modified 2 years, 11 months ago by silb3r. Reason: Adding more detail

    Hi @silb3r,

    It is my understanding that we have been communicating through the ticket, but directly with your client. If you can please reply through the ticket so that we can keep things in one place.

    It is possible if the solution has not been found yet that it is hard to pin down – several times this particular issue has happened randomly that is hard to replicate, as seen in these examples:

    https://github.com/stripe/stripe-payments-demo/issues/158

    https://discussions.apple.com/thread/250587894

    https://developer.apple.com/forums/thread/53334

    The most common ‘fix’ is to make sure the iOS is fully up to date, as well as the Safari browser. Definitely double check this, and reply in the ticket so we can keep things in one place.

    Thanks!

    Thread Starter silb3r

    (@silb3r)

    Thank you Mike.

    I confirmed with my client that they have not been updated directly and the ticket also has not seen any updates or activity. I also confirmed that since I sent your team a login and pass to our staging server 20 days ago, not a single attempt has been made to log in using the credentials.

    Furthermore, there have been two updates to this plugin since we first brought this issue to your attention and neither changelog mentions anything about this issue. It is still very much a problem and this feature does not work.

    We disabled ALL plugins except for WooCommerce and WooCommerce Square and we still cannot use Apple Pay for the reasons discussed in my original post above. If I disable WooCommerce Square and instead activate WooCommerce Stripe, then Apple Pay works perfectly. This tells me that the issue is almost certainly with the WooCommerce Square plugin and this has been verified in multiple browsers by multiple team members and customers.

    The support links you provided are not relevant to getting Apple Pay working with the WooCommerce Square gateway. We also don’t yet plan to use this on iOS, so the “fix” you mentioned is not relevant to us at this time; all devices this was tested on are running the latest versions of macOS and Safari.

    In the interests of the community, please unmark this thread as resolved because it has NOT been resolved at all and it’s my goal to keep the community updated when it truly is resolved because I’m clearly not alone.

    This plugin has very poor ratings for several reasons, one of the common reasons mentioned is its failure to work with Apple Pay, and another reason is the lack of support when troubleshooting the Apple Pay problems.

    Let’s please stay honest here and not rush to mark this resolved.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Apple Pay not working “Payment Not Completed”’ is closed to new replies.