Support » Plugin: WooCommerce » Uncaught ReferenceError: braintree is not defined

  • Resolved veeraj

    (@veeraj)


    Hello,

    Whenever we send the invoice to the customer so they can pay it (from the backend in woocommerce), they are unable to pay.
    After further investigation I found the below error:
    “Uncaught ReferenceError: braintree is not defined”.

    How to solve this?

    Thanks

    
    ### WordPress Environment ###
    
    Home URL: http://woocommerce-151096-703315.cloudwaysapps.com
    Site URL: http://woocommerce-151096-703315.cloudwaysapps.com
    WC Version: 3.5.4
    Log Directory Writable: ✔
    WP Version: ❌ 4.9.8 - There is a newer version of WordPress available (5.0.3)
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.10 (Debian)
    PHP Version: 7.1.20-1+0~20180910100430.3+jessie~1.gbp17c613 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 512 MB
    PHP Time Limit: 0
    PHP Max Input Vars: 2500
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.41-84.1
    Max Upload Size: 512 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.2
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 133.03MB
    Database Data Size: 70.74MB
    Database Index Size: 62.29MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 1.52MB + Index: 0.48MB
    wp_woocommerce_order_itemmeta: Data: 8.52MB + Index: 10.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    sib_model_contact: Data: 0.02MB + Index: 0.00MB
    sib_model_country: Data: 0.02MB + Index: 0.00MB
    smackuci_events: Data: 0.02MB + Index: 0.00MB
    smackuci_history: Data: 0.02MB + Index: 0.00MB
    wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB
    wp_automatewoo_abandoned_carts: Data: 0.13MB + Index: 0.08MB
    wp_automatewoo_customers: Data: 0.27MB + Index: 0.50MB
    wp_automatewoo_guests: Data: 0.31MB + Index: 0.28MB
    wp_automatewoo_guest_meta: Data: 1.52MB + Index: 1.98MB
    wp_automatewoo_logs: Data: 0.22MB + Index: 0.41MB
    wp_automatewoo_log_meta: Data: 1.52MB + Index: 3.03MB
    wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB
    wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB
    wp_automatewoo_unsubscribes: Data: 0.02MB + Index: 0.06MB
    wp_commentmeta: Data: 0.38MB + Index: 0.38MB
    wp_comments: Data: 7.52MB + Index: 9.09MB
    wp_cp_calculated_fields_form_discount_codes: Data: 0.02MB + Index: 0.00MB
    wp_cp_calculated_fields_form_posts: Data: 0.02MB + Index: 0.00MB
    wp_cp_calculated_fields_form_revision: Data: 0.02MB + Index: 0.00MB
    wp_cp_calculated_fields_form_settings: Data: 0.02MB + Index: 0.00MB
    wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB
    wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB
    wp_et_bloom_stats: Data: 0.02MB + Index: 0.00MB
    wp_et_social_stats: Data: 0.02MB + Index: 0.00MB
    wp_ewwwio_images: Data: 0.45MB + Index: 0.45MB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB
    wp_formmaker: Data: 0.08MB + Index: 0.00MB
    wp_formmaker_backup: Data: 0.08MB + Index: 0.00MB
    wp_formmaker_blocked: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_display_options: Data: 0.02MB + Index: 0.02MB
    wp_formmaker_query: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_sessions: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_submits: Data: 0.45MB + Index: 0.00MB
    wp_formmaker_themes: Data: 0.14MB + Index: 0.00MB
    wp_formmaker_views: Data: 0.02MB + Index: 0.00MB
    wp_hidemysiteSecure: Data: 0.02MB + Index: 0.00MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_mailchimp_carts: Data: 0.19MB + Index: 0.00MB
    wp_options: Data: 2.28MB + Index: 0.08MB
    wp_postmeta: Data: 23.56MB + Index: 28.09MB
    wp_posts: Data: 16.52MB + Index: 1.41MB
    wp_queue: Data: 0.02MB + Index: 0.00MB
    wp_snippets: Data: 0.02MB + Index: 0.00MB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB
    wp_terms: Data: 0.06MB + Index: 0.03MB
    wp_term_relationships: Data: 0.06MB + Index: 0.05MB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB
    wp_ultimate_csv_importer_log_values: Data: 0.02MB + Index: 0.00MB
    wp_ultimate_csv_importer_manageshortcodes: Data: 0.02MB + Index: 0.00MB
    wp_ultimate_csv_importer_shortcodes_statusrel: Data: 0.02MB + Index: 0.00MB
    wp_usermeta: Data: 3.52MB + Index: 5.03MB
    wp_users: Data: 0.19MB + Index: 0.17MB
    wp_wcpdf_invoice_number: Data: 0.11MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wpml_mails: Data: 0.05MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.06MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    acf: 5
    attachment: 420
    aw_workflow: 4
    custom_css: 3
    et_pb_layout: 7
    fmemailverification: 1
    form-maker: 1
    nav_menu_item: 31
    page: 37
    post: 7
    product: 111
    product_variation: 1841
    revision: 611
    shipping_package: 3
    shop_coupon: 53
    shop_order: 4283
    shop_order_refund: 155
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (31) ###
    
    ManageWP - Worker: by ManageWP – 4.6.3
    Calculated Fields Form: by CodePeople – 1.0.280
    Child Theme Configurator: by Lilaea Media – 2.4.1
    Code Snippets: by Shea Bunge – 2.13.0
    Comet Cache Pro: by WebSharks
    Inc. – 170220
    
    Google Tag Manager for WordPress: by Thomas Geiger – 1.9 – Not tested with the active version of WooCommerce
    Elegant Themes Updater: by Elegant Themes – 1.1
    Google XML Sitemaps: by Arne Brachhold – 4.1.0
    Hide My Site: by Justin Saad – 2.0.5
    Kraken Image Optimizer: by Karim Salman – 2.6.3
    PayPal for WooCommerce: by Angell EYE – 1.5.7
    PixelYourSite: by PixelYourSite – 5.3.4
    Quick Spark Financial -- woocommerce plugin: by Dennis Fitzgerald – 1.4 – Not tested with the active version of WooCommerce
    Really Simple CAPTCHA: by Takayuki Miyoshi – 2.0.1
    SG Optimizer: by SiteGround – 5.0.13
    Simple 301 Redirects: by Scott Nellé – 1.07
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.4
    
    Advanced Order Export For WooCommerce: by AlgolPlus – 2.0.1
    WooCommerce Photo Reviews: by VillaTheme – 1.1.2.1
    Product Feed PRO for WooCommerce: by AdTribes.io – 4.3.3
    WooCommerce ShipperHQ: by ShipperHQ – 1.3.5 – Not tested with the active version of WooCommerce
    WooCommerce Custom Product Tabs Lite: by SkyVerge – 1.6.3 – Not tested with the active version of WooCommerce
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.2.6
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.18 – 4.1.22 is available – Not tested with the active version of WooCommerce
    Springbot WooCommerce Integration: by Springbot – 0.0.3 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.5.4
    Yoast SEO: by Team Yoast – 9.5
    WP Mail Logging: by Christian Zöller – 1.8.5
    WP Mail SMTP: by WPForms – 1.4.1
    WP Rollback: by Impress.org – 1.6
    WP Staging: by WP-Staging – 2.4.8
    
    ### 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)
    featured (featured-2)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-4 (rated-4-2)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #42 - /products-list/
    Cart: #20 - /cart/
    Checkout: #21 - /checkout/
    My account: #45 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Divi Child
    Version: 1.0.1525891791
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 3.13.1
    Parent Theme Author URL: http://www.elegantthemes.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: divi-child/woocommerce/checkout/cart-errors.php
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fernando

    (@fhaps)

    Automattic Happiness Engineer

    Looking at your system status report, I don’t see a Braintree plugin installed. However, do you have or had in the past a Braintree plugin?

    I’d recommend trying a conflict test (disabling all plugins except for WooCommerce, and enabling a default theme like Storefront), to see if that helps things. You can activate a core payment method like Cash on Delivery to test this on a default setup.

    Plugin Support Luminus

    (@luminus)

    Automattic Happiness Engineer

    Hi @veeraj,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught ReferenceError: braintree is not defined’ is closed to new replies.