Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • having the same issue here!

    Thread Starter coshos

    (@coshos)

    Unfortunately the same error still persists when I de-actived all of plug-ins excepts Woocommerce and WooCommerce Payments. I have also switched back to the default frontstore theme.

    Again the js error appears when switch to PHP 8.

    however, There is no fatal error reported in the log.

    Many thanks

    Thread Starter coshos

    (@coshos)

    Hello, after deactivating the “WooCommerce Direct Checkout” plugin

    I have still got the following js error

    ?ver=3.0:1 Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a clientSecret or mode when creating the Elements group.

    e.g. stripe.elements({clientSecret: “{{CLIENT_SECRET}}”})
    at qr (?ver=3.0:1:228294)
    at zo (?ver=3.0:1:271461)
    at new t (?ver=3.0:1:276616)
    at t. (?ver=3.0:1:286544)
    at t.create (?ver=3.0:1:90252)
    at L (upe_checkout.js?ver=5.6.2:1:85989)

    However, this js error only appears with PHP v8 only. Downgarde to php v7 will no longer have this js error

    Thread Starter coshos

    (@coshos)

    maybe I am just looking at the wrong error. I have noticed the following JS error which preventing the checkout page load properly.

    Uncaught (in promise) IntegrationError: In order to create a payment element, you must pass a valid PaymentIntent or SetupIntent client secret when creating the Elements group.

    e.g. stripe.elements({clientSecret: “{{CLIENT_SECRET}}”})
    r https://js.stripe.com/v3/?ver=3.0:1
    n https://js.stripe.com/v3/?ver=3.0:1
    r https://js.stripe.com/v3/?ver=3.0:1
    t https://js.stripe.com/v3/?ver=3.0:1
    qr https://js.stripe.com/v3/?ver=3.0:1
    Yo https://js.stripe.com/v3/?ver=3.0:1
    t https://js.stripe.com/v3/?ver=3.0:1
    create https://js.stripe.com/v3/?ver=3.0:1
    x https://js.stripe.com/v3/?ver=3.0:1
    L https://staging/wp-content/plugins/woocommerce-payments/dist/upe_checkout.js?ver=5.6.2:1

    Thread Starter coshos

    (@coshos)

    thank you!

    Thread Starter coshos

    (@coshos)

    WordPress Environment
    
    WordPress address (URL): https://www.sample.co.uk
    Site address (URL): https://www.sample.co.uk
    WC Version: 7.5.1
    REST API Version: ✔</img> 7.5.1
    WC Blocks Version: ✔</img> 9.6.6
    Action Scheduler Version: ✔</img> 3.5.4
    Log Directory Writable: ✔</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔</img>
    Language: en_GB
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.1.17
    PHP Post Max Size: 512 MB
    PHP Time Limit: 100
    PHP Max Input Vars: 3000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 10.5.17-MariaDB-1:10.5.17+maria~deb10-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: 7.5.1
    WC Database Prefix: vVfbEMte
    Total Database Size: 69.09MB
    Database Data Size: 42.58MB
    Database Index Size: 26.51MB
    vVfbEMtewoocommerce_sessions: Data: 4.02MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtewoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewoocommerce_order_items: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_order_itemmeta: Data: 0.30MB + Index: 0.27MB + Engine InnoDB
    vVfbEMtewoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_actions: Data: 1.02MB + Index: 0.72MB + Engine InnoDB
    vVfbEMteactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteactionscheduler_logs: Data: 1.02MB + Index: 0.66MB + Engine InnoDB
    vVfbEMtece4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtece4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtecommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtecomments: Data: 1.52MB + Index: 0.78MB + Engine InnoDB
    vVfbEMtegla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtegla_budget_recommendations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtegla_merchant_issues: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtegla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtegla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtejetpack_waf_blocklog: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtelegal_pages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtelinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtelp_popups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_automation_run_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_newsletter_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_scheduled_tasks: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtemailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtemailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtemailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_subscribers: Data: 0.19MB + Index: 0.27MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_segment: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtemailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtemailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMteoptions: Data: 6.02MB + Index: 0.22MB + Engine InnoDB
    vVfbEMtepostmeta: Data: 13.48MB + Index: 9.70MB + Engine InnoDB
    vVfbEMteposts: Data: 4.47MB + Index: 0.86MB + Engine InnoDB
    vVfbEMterank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_analytics_gsc: Data: 6.03MB + Index: 9.61MB + Engine InnoDB
    vVfbEMterank_math_analytics_inspections: Data: 0.14MB + Index: 0.14MB + Engine InnoDB
    vVfbEMterank_math_analytics_objects: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    vVfbEMterank_math_internal_links: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMterank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMterank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtetermmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteterms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteterm_relationships: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
    vVfbEMteterm_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    vVfbEMteusermeta: Data: 1.47MB + Index: 0.63MB + Engine InnoDB
    vVfbEMteusers: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    vVfbEMtewcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    vVfbEMtewc_order_stats: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    vVfbEMtewc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    vVfbEMtewc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    vVfbEMtewc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    vVfbEMtewc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtewc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtexoo_wl_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    vVfbEMtexoo_wl_list_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 1959
    cartflows_flow: 1
    cartflows_step: 2
    customize_changeset: 1
    mailpoet_page: 1
    nav_menu_item: 54
    oembed_cache: 6
    page: 11
    post: 1
    product: 353
    product_variation: 61
    revision: 252
    shop_coupon: 348
    shop_order: 1313
    shop_order_refund: 60
    wcpcsu-custom-post: 1
    wp_global_styles: 2
    
    Security
    
    Secure connection (HTTPS): ✔</img>
    Hide errors from visitors: ✔</img>
    
    Active Plugins (16)
    
    Google Listings and Ads: by WooCommerce – 2.4.1
    IONOS Assistant: by IONOS – 8.5.1
    Jetpack Protect: by Automattic - Jetpack Security team – 1.3.0
    Jetpack: by Automattic – 11.9.1
    Parcel2Go Shipping: by Parcel2Go.com – 1.0.4
    Sales Countdown Timer: by VillaTheme – 1.0.11
    Rank Math SEO: by Rank Math – 1.0.110.2
    Storefront Hamburger Menu: by WooCommerce – 1.2.2
    Trustpilot-reviews: by Trustpilot – 2.5.914
    Waitlist woocommerce( Back in stock notifier ): by – 2.5.2
    WooCommerce Direct Checkout: by QuadLayers – 3.0.4
    WooCommerce Google Analytics Integration: by WooCommerce – 1.6.2
    WooCommerce Payments: by Automattic – 5.6.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.4.0
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
    WooCommerce: by Automattic – 7.5.1
    
    Inactive Plugins (1)
    
    MailPoet: by MailPoet – 4.9.0
    
    Must Use Plugins (1)
    
    1&1 Product Subdomain: by 1&1 – 1.1.0
    
    Settings
    
    API Enabled: –
    Force SSL: ✔</img>
    Currency: GBP (£)
    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: –
    Enforce Approved Product Download Directories: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Basket: #115 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #80 - /terms-of-use/
    
    Theme
    
    Name: Storefront Child Theme
    Version: 1.0.0
    Author URL: http://stuartduff.com
    Child Theme: ✔</img>
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔</img>
    
    Templates
    
    Overrides: –
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ✔</img> Next scheduled: 2023-03-23 11:03:36 +00:00
    Options: ✔</img>
    Notes: 114
    Onboarding: completed
    
    WooCommerce Payments
    
    Version: 5.6.1
    Connected to WPCOM: Yes
    Blog ID: 200751009
    Account ID: acct_1KFgLI2HEJCEWD49
    
    Action Scheduler
    
    Canceled: 6
    Oldest: 2023-02-23 11:31:55 +0000
    Newest: 2023-02-27 05:45:51 +0000
    
    Complete: 1,852
    Oldest: 2023-02-19 17:35:03 +0000
    Newest: 2023-03-22 13:18:09 +0000
    
    Failed: 113
    Oldest: 2022-01-10 20:48:06 +0000
    Newest: 2023-03-22 09:30:45 +0000
    
    Pending: 4
    Oldest: 2023-03-23 03:00:00 +0000
    Newest: 2023-04-17 00:39:43 +0000
    
    Status report information
    
    Generated at: 2023-03-22 14:04:06 +00:00
    `
Viewing 6 replies - 1 through 6 (of 6 total)