• Resolved jonaslate

    (@jonaslate)


    Hi All,

    I’m having issues with a clients checkout page were the input fields are completely greyed-out and inaccessible. The submit button functions and generates the correct error for submitting no payment information.

    There are several console errors being outputted, first one is based on the checkout. After clicking through to the link I see that

    SqPaymentForm

    has been retired?

    Uncaught TypeError: $ is not a function
        at checkout:1181:2
    full-scripts.6.1.6.js?ver=1551844363:5 ready for rock
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    12Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    chromewebdata/:1          Failed to load resource: the server responded with a status of 410 ()
    (index):6792 crbug/1173575, non-JS module files deprecated.
    (anonymous) @ (index):6792
    paymentform?ver=2.3.4:1 FormNotReadyError: Cannot call SqPaymentForm#setPostalCode before the paymentFormLoaded() callback. See Step 4: https://developer.squareup.com/docs/payment-form/how-it-works#the-sqpaymentform-process-flow
        at bt (paymentform?ver=2.3.4:1:156118)
        at Ct (paymentform?ver=2.3.4:1:165719)
        at St.setPostalCode (paymentform?ver=2.3.4:1:159124)
        at n.value (wc-square.min.js:289:29)
        at n.value (wc-square.min.js:220:25)
        at HTMLBodyElement.<anonymous> (wc-square.min.js:111:26)
        at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3:12369)
        at r.handle (jquery.js?ver=1.12.4-wp:3:9088)
        at Object.trigger (jquery.js?ver=1.12.4-wp:3:11488)
        at a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2:8275)
    • This topic was modified 3 years, 4 months ago by jonaslate.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jonaslate

    Thanks for reaching out!

    I’m having issues with a clients checkout page were the input fields are completely greyed-out and inaccessible.

    I checked your site, however, I was not able to reproduce this issue on my end as seen below. The credit card fields are editable:

    Image Link: https://snipboard.io/cyVqnM.jpg

    Can you please try to clear your browser’s cache or try another browser and see if that works?

    Furthermore, I’d like to understand your site properly, can you please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    Hi,

    I also am having the same error as well.

    Here’s a copy of my Status Report

    WordPress Environment
    
    WordPress address (URL): https://kerfdesign.com/wp
    Site address (URL): https://kerfdesign.com
    WC Version: 4.0.1
    REST API Version: ✔</img> 1.0.7
    WC Blocks Version: ✔</img> 2.5.14
    Action Scheduler Version: ✔</img> 3.1.4
    WC Admin Version: ✔</img> 1.0.3
    Log Directory Writable: ✔</img>
    WP Version: ❌</img> 5.4 - There is a newer version of WordPress available (6.1.1)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache/2.4.54 (Unix) OpenSSL/1.1.1
    PHP Version: 7.3.33
    PHP Post Max Size: 1 GB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.40-0ubuntu0.18.04.1-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔</img>
    fsockopen/cURL: ✔</img>
    SoapClient: ✔</img>
    DOMDocument: ✔</img>
    GZip: ✔</img>
    Multibyte String: ✔</img>
    Remote Post: ✔</img>
    Remote Get: ✔</img>
    
    Database
    
    WC Database Version: 4.0.1
    WC Database Prefix: wp_
    Total Database Size: 22.09MB
    Database Data Size: 15.53MB
    Database Index Size: 6.56MB
    wp_woocommerce_sessions: Data: 0.06MB + 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.06MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.25MB + 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: 2.02MB + Index: 0.47MB + 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: 1.02MB + Index: 0.28MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + 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: 4.08MB + Index: 1.16MB + Engine InnoDB
    wp_postmark_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 5.52MB + Index: 3.02MB + Engine InnoDB
    wp_posts: Data: 1.34MB + Index: 0.23MB + Engine InnoDB
    wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.22MB + Index: 0.09MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + 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.06MB + 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.05MB + Index: 0.09MB + 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_woocommerce_square_customers: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    acf-field: 21
    acf-field-group: 6
    attachment: 524
    nav_menu_item: 12
    page: 12
    post: 5
    product: 13
    product_variation: 232
    project: 18
    revision: 455
    shop_coupon: 2
    shop_order: 97
    shop_order_refund: 12
    
    Security
    
    Secure connection (HTTPS): ✔</img>
    Hide errors from visitors: ✔</img>
    
    Active Plugins (12)
    
    Classic Editor: by WordPress Contributors – 1.5
    Jetpack by WordPress.com: by Automattic – 8.4.1
    Mailchimp for WooCommerce: by Mailchimp – 2.3.6
    Postmark (Official): by Andrew Yates & Matt Gibbs – 1.12.1
    WooCommerce Admin: by WooCommerce – 1.0.3
    WooCommerce Services: by Automattic – 1.22.5 – 2.1.1 is available
    WooCommerce Square: by WooCommerce – 2.1.1
    WooCommerce: by Automattic – 4.0.1
    WP Migrate DB Pro CLI: by Delicious Brains – 1.3.5
    WP Migrate DB Pro Media Files: by Delicious Brains – 1.4.15
    WP Migrate DB Pro: by Delicious Brains – 1.9.10
    XT WooCommerce Floating Cart Pro: by XplodedThemes – 1.5.6
    
    Inactive Plugins (1)
    
    WooCommerce Quick View: by WooCommerce – 1.1.14 – Not tested with the active version of WooCommerce
    
    Must Use Plugins (4)
    
    Bedrock Autoloader: by Roots – 1.0.0
    Disallow Indexing: by Roots – 1.0.0
    Register Theme Directory: by Roots – 1.0.0
    WP Migrate DB Pro Compatibility: by Delicious Brains – 1.2
    
    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: #217 - /shop/
    Cart: #163 - /cart/
    Checkout: #164 - /checkout/
    My account: #165 - /my-account/
    Terms and conditions: #3 - /privacy-policy/
    
    Theme
    
    Name: Kerf Design
    Version: 2.0.0
    Author URL: https://eastslope.studio
    Child Theme: ❌</img> – 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: ✔</img>
    
    Templates
    
    Overrides: kerfdesign/woocommerce/archive-product.php
    kerfdesign/woocommerce/single-product.php
    
    Square
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    
    Action Scheduler
    
    Complete: 1,477
    Oldest: 2022-12-13 22:44:21 +0000
    Newest: 2023-01-13 22:13:44 +0000
    
    Pending: 3
    Oldest: 2023-01-13 23:13:44 +0000
    Newest: 2023-01-18 20:07:25 +0000

    Also I’ve attached a screenshot of the inspector with the console errors.

    Here’s the site that’s broken: https://kerfdesign.com/checkout/

    Any help on how to resolve this would be great, thanks!

    Thread Starter jonaslate

    (@jonaslate)

    I was able to resolve the console errors after updating the plugin to their new(current) API call.

    The whole checkout UI changed as well.

    Thanks Jon, I’ll try to update the plugin as well and see if that fixes things!

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

The topic ‘Depracated or Error?’ is closed to new replies.