• Resolved 7thcircle

    (@7thcircle)


    VM218:1 POST https://pci-connect.squareup.com/v2/v?version=ffb77b668a 400 (Bad Request)
    (anonymous) @ VM218:1
    o.post @ paymentform:1
    value @ paymentform:1
    value @ paymentform:1
    Pt._collectMethodsSupportedData @ paymentform:1
    Pt.enableMethod @ paymentform:1
    Pt._initializeDigitalWallets @ paymentform:1
    (anonymous) @ paymentform:1
    setTimeout (async)
    Pt.receiveMessageCallback @ paymentform:1

    VM218:1 POST https://pci-connect.squareup.com/v2/v?version=ffb77b668a 400 (Bad Request)
    (anonymous) @ VM218:1
    o.post @ paymentform:1
    value @ paymentform:1
    value @ paymentform:1
    Pt._collectMethodsSupportedData @ paymentform:1
    Pt.enableMethod @ paymentform:1
    dt._enableInstallmentsMethod @ paymentform:1
    dt._validateOptions @ paymentform:1
    dt @ paymentform:1
    Pt._initializeDigitalWallet @ paymentform:1
    Pt._initializeDigitalWallets @ paymentform:1
    (anonymous) @ paymentform:1
    setTimeout (async)
    Pt.receiveMessageCallback @ paymentform:1

    • This topic was modified 5 years, 1 month ago by 7thcircle. Reason: missed the second error

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @7thcircle,

    Thank you for letting us know about this problem. I see what you mean. I’m seeing these errors on my test site as well, and they’re related to Square features that are not supported by our plugin, such as Apple Pay or Google Pay.

    I’ve let our developers know about this problem to see if we can prevent these requests somehow so that they don’t confuse the merchants or customers. In the meantime, you should be able to accept credit card payments as normal, as these errors are not related to the credit card feature in any way.

    Cheers!

    I am having similar issues. There doesn’t seem to be a way for me to accept any credit card payments as normal. Circle just spins and I cannot enter any credit card information.

    madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @mj3313,

    I can accept payments just fine even with the 400 responses showing in the console, so the problem here is likely caused by something else. To let us check what this could be, can you please send the System Status Report? You can find it under WooCommerce > Status in WP Admin.

    Thanks!

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.hummingbirdkiss.com
    Site address (URL): https://www.hummingbirdkiss.com
    WC Version: 3.7.1
    REST API Version: ? 1.0.2
    Log Directory Writable: ?
    WP Version: 5.2.4
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.23
    PHP Post Max Size: 260 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.66.0
    OpenSSL/1.0.2t
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.7.1
    WC Database Prefix: _OIW_
    MaxMind GeoIP Database: ?
    Total Database Size: 5.29MB
    Database Data Size: 4.79MB
    Database Index Size: 0.50MB
    _OIW_woocommerce_sessions: Data: 0.06MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_comments: Data: 0.17MB + Index: 0.13MB + Engine MyISAM
    _OIW_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_options: Data: 3.99MB + Index: 0.07MB + Engine MyISAM
    _OIW_postmeta: Data: 0.26MB + Index: 0.05MB + Engine MyISAM
    _OIW_posts: Data: 0.20MB + Index: 0.14MB + Engine MyISAM
    _OIW_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
    _OIW_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_revslider_sliders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_revslider_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_term_relationships: Data: 0.01MB + Index: 0.03MB + Engine MyISAM
    _OIW_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_usermeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    _OIW_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_woocommerce_square_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    _OIW_wpfm_backup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wsluserscontacts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    _OIW_wslusersprofiles: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (13) ###
    
    Cherry Plugin Wizard: by Cherry Team – 1.0.0
    Cherry PopUps: by Jetimpex – 1.1.8
    Cherry Search: by Zemez – 1.1.5
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.2.6
    
    TM WooCommerce Ajax Filters: by TemplateMonster – 1.0.3 – Not tested with the active version of WooCommerce
    TM WooCommerce Compare & Wishlist: by JetImpex – 1.1.7 – Not tested with the active version of WooCommerce
    TM WooCommerce Package: by Zemez – 1.3.6 – Not tested with the active version of WooCommerce
    TM WooCommerce Quick View: by TemplateMonster – 1.0.1 – Not tested with the active version of WooCommerce
    WooCommerce Admin: by WooCommerce – 0.20.1
    WooCommerce Amazon Pay Gateway: by WooCommerce – 1.10.2
    WooCommerce Social Media Share Buttons: by Toastie Studio – 1.3.0 – Not tested with the active version of WooCommerce
    WooCommerce Square: by WooCommerce – 2.0.5
    WooCommerce: by Automattic – 3.7.1
    
    ### Inactive Plugins (29) ###
    
    Akismet Anti-Spam: by Automattic – 4.1.2
    Cherry Data Importer: by TemplateMonster – 1.1.2
    Cherry Live Demo Mods Switcher: by Cherry Team – 1.1
    Cherry Projects: by Cherry Team – 1.2.15
    Cherry Services List: by Zemez – 1.4.7
    Cherry Sidebars: by Zemez – 1.1.3
    Cherry Socialize: by Jetimpex – 1.1.4
    Cherry Team Members: by Zemez – 1.4.6
    Cherry Testimonials: by Zemez – 1.1.3
    Contact Form 7: by Takayuki Miyoshi – 5.1.4
    Elementor: by Elementor.com – 2.7.4
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 7.9.0
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.4.2
    Hello Dolly: by Matt Mullenweg – 1.7.2
    HubSpot All-In-One Marketing - Forms, Popups, Live Chat: by HubSpot – 7.14.1
    JetElements For Elementor: by Zemez – 2.0.1
    JetMenu: by Zemez – 1.5.14
    Jetpack by WordPress.com: by Automattic – 7.8
    MOJO Marketplace: by Mike Hansen – 1.5
    OptinMonster API: by OptinMonster Team – 1.8.3
    Slider Revolution: by ThemePunch – 5.4.1
    TM Photo Gallery: by JetImpex – 1.1.2
    TM Style Switcher: by Jetimpex – 1.0.6
    TM Timeline: by Jetimpex – 1.1.1
    WooCommerce Stripe Gateway: by WooCommerce – 4.3.0
    WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.0
    WordPress Social Login: by Miled – 2.3.3
    WP File Manager: by mndpsingh287 – 5.4
    WPForms Lite: by WPForms – 1.5.5.1
    
    ### Dropin Plugins (2) ###
    
    db-error.php: db-error.php
    maintenance.php: maintenance.php
    
    ### Must Use Plugins (3) ###
    
    Endurance Browser Cache: by Mike Hansen – 0.4
    Endurance Page Cache: by Mike Hansen – 1.6
    SSO: by Garth Mortensen
    Mike Hansen – 0.3
    
    ### 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)
    variable (variable)
    
    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: #224 - /
    Cart: #225 - /cart/
    Checkout: #226 - /checkout/
    My account: #227 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Cosmetro
    Version: 3.1.1
    Author URL: https://themeforest.net/user/jetimpex
    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: cosmetro/woocommerce/archive-product.php
    cosmetro/woocommerce/cart/cart-totals.php
    cosmetro/woocommerce/cart/cart.php version 3.5.0 is out of date. The core version is 3.7.0
    cosmetro/woocommerce/cart/cross-sells.php
    cosmetro/woocommerce/cart/proceed-to-checkout-button.php
    cosmetro/woocommerce/checkout/review-order.php
    cosmetro/woocommerce/content-product.php
    cosmetro/woocommerce/content-product_cat.php
    cosmetro/woocommerce/content-widget-product.php
    cosmetro/woocommerce/global/breadcrumb.php
    cosmetro/woocommerce/global/quantity-input.php
    cosmetro/woocommerce/global/wrapper-end.php
    cosmetro/woocommerce/global/wrapper-start.php
    cosmetro/woocommerce/loop/loop-end.php
    cosmetro/woocommerce/loop/loop-start.php
    cosmetro/woocommerce/myaccount/my-account.php
    cosmetro/woocommerce/product-searchform.php
    cosmetro/woocommerce/single-product/meta.php
    cosmetro/woocommerce/single-product/product-image.php
    cosmetro/woocommerce/single-product/related.php
    cosmetro/woocommerce/single-product/review.php
    cosmetro/woocommerce/single-product/title.php
    cosmetro/woocommerce/single-product/up-sells.php
    cosmetro/woocommerce/single-product-reviews.php
    cosmetro/woocommerce/single-product.php
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### Square ###
    
    Environment: Production
    Tokenization Enabled: ?
    Debug Mode: Off
    
    ### Action Scheduler ###
    
    Complete: 570
    Oldest: 2019-09-22 17:31:54 -0400
    Newest: 2019-10-23 17:24:31 -0400
    
    Pending: 3
    Oldest: 2019-10-23 18:24:31 -0400
    Newest: 2019-10-29 23:05:05 -0400
    
    Canceled: 2
    Oldest: 2019-10-28 00:30:19 -0400
    Newest: 2019-10-29 22:47:23 -0400
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    Hi there @mj3313,

    Thank you for coming back with System Status!

    Can you please enable Debug mode in WooCommerce > Settings > Payments > Square and then check the logs in WooCommerce > Status > Logs that start with fatal-errors, square- or square_credit_card? Please try to access the checkout page first.

    Also, do you see any errors on your checkout if you open Dev Tools > Console and reload it? Your site is behind the Coming Soon bar so I can’t check it myself.

    Additionally, if you switch to the Network tab, do you see any js-errors there?

    Please share some screenshots so we could have a closer look. I recommend https://snipboard.io/ for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply. It works with Chrome, Firefox, and Edge.

    Cheers!

    Did the screenshot help in understanding my issue?

    Hi there @mj3313,

    Thank you for the screenshot! I see this error message on it – [Analytics] A token request is already in place which 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
    • Test if your checkout page is loading
    • Disable all plugins except for WooCommerce and Square
    • Test if your checkout page is loading

    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.

    Let us know how that goes!

    Followed your instructions (disabling all plugins and also switched themes) but the same issue exists.

    paymentform?ver=2.0.5:1 POST https://pci-connect.squareup.com/v2/v?version=ffb77b668a 400 (Bad Request)

    o.post @ paymentform?ver=2.0.5:1
    value @ paymentform?ver=2.0.5:1
    value @ paymentform?ver=2.0.5:1
    Pt._collectMethodsSupportedData @ paymentform?ver=2.0.5:1
    Pt.enableMethod @ paymentform?ver=2.0.5:1
    dt._enableInstallmentsMethod @ paymentform?ver=2.0.5:1
    dt._validateOptions @ paymentform?ver=2.0.5:1
    dt @ paymentform?ver=2.0.5:1
    Pt._initializeDigitalWallet @ paymentform?ver=2.0.5:1
    Pt._initializeDigitalWallets @ paymentform?ver=2.0.5:1
    (anonymous) @ paymentform?ver=2.0.5:1
    setTimeout (async)
    Pt.receiveMessageCallback @ paymentform?ver=2.0.5:1

    Hi there @mj3313,

    Followed your instructions (disabling all plugins and also switched themes) but the same issue exists.

    So you still cannot place an order on your checkout page because it’s spinning even with Storefront theme and WooCommerce and Square plugin?

    If yes, please contact us at WooCommerce.com > My Account > Tickets. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Meanwhile, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘VM218:1 POST https://pci-connect.squareup.com/v2/v?version=ffb77b668a 400 (Bad R’ is closed to new replies.