• Resolved elaraweb

    (@elaraweb)


    Hi, I am getting this error show in the console:

    Uncaught IntegrationError: Please call Stripe() with your publishable key. You used an empty string.

    Both my test account and live account have all keys added.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey @elaraweb,

    I see that you’re getting an error in the console when using the Stripe plugin.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.  Once you’ve done that, paste it here in your response.

    Can you also please go to WooCommerce > Status > Logs and see if there are any Stripe logs there relevant to the issue?

    This will help us better understand how your site is set up and make it easier for us to determine the next steps.

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you 🙂

    Thread Starter elaraweb

    (@elaraweb)

    Hi, sorry for the slow reply.


    ### WordPress Environment ###

    WordPress address (URL): http://domain53447d.stackstaging.com
    Site address (URL): http://domain53447d.stackstaging.com
    WC Version: 5.9.0
    REST API Version: ✔ 5.9.0
    WC Blocks Version: ✔ 6.1.0
    Action Scheduler Version: ✔ 3.3.0
    WC Admin Version: ✔ 2.8.0
    Log Directory Writable: ✔
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.24
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 2500
    cURL Version: 7.65.0
    OpenSSL/1.0.2k-fips

    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.21-MariaDB-log
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 5.9.0
    WC Database Prefix: 6a_
    Total Database Size: 74.14MB
    Database Data Size: 44.65MB
    Database Index Size: 29.49MB
    6a_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    6a_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    6a_woocommerce_order_itemmeta: Data: 0.19MB + Index: 0.20MB + Engine InnoDB
    6a_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    6a_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_actionscheduler_actions: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    6a_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_actionscheduler_logs: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    6a_ac_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_auction_direct_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_comments: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
    6a_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_draft_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_form_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_order_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_subscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_fluentform_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_options: Data: 7.42MB + Index: 0.19MB + Engine InnoDB
    6a_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    6a_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_hash: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_images: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_imports: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_posts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    6a_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_postmeta: Data: 13.44MB + Index: 3.02MB + Engine InnoDB
    6a_posts: Data: 6.52MB + Index: 0.72MB + Engine InnoDB
    6a_searchwp_index: Data: 6.02MB + Index: 10.44MB + Engine InnoDB
    6a_searchwp_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    6a_searchwp_status: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    6a_searchwp_tokens: Data: 1.52MB + Index: 4.55MB + Engine InnoDB
    6a_seopress_significant_keywords: Data: 0.34MB + Index: 0.28MB + Engine InnoDB
    6a_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_termmeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    6a_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    6a_term_relationships: Data: 0.13MB + Index: 0.08MB + Engine InnoDB
    6a_term_taxonomy: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    6a_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_usermeta: Data: 5.52MB + Index: 8.03MB + Engine InnoDB
    6a_users: Data: 0.47MB + Index: 0.47MB + Engine InnoDB
    6a_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    6a_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    6a_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    6a_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    6a_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    6a_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    6a_woo_ua_auction_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_wpsr_caches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    6a_wpsr_reviews: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

    ### Post Type Counts ###

    acf-field: 18
    acf-field-group: 3
    attachment: 3137
    ct_template: 6
    customize_changeset: 3
    nav_menu_item: 7
    oembed_cache: 226
    page: 13
    post: 237
    product: 146
    revision: 618
    seopress_404: 1
    shop_order: 128
    shop_order_refund: 5
    testimonials: 24

    ### Security ###

    Secure connection (HTTPS): ❌
    Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔

    ### Active Plugins (25) ###

    Admin Columns Pro: by AdminColumns.com – 5.6.2
    Advanced Custom Fields PRO: by Delicious Brains – 5.10.2
    Convert to Blocks: by 10up – 1.0.2
    Advanced Scripts: by Clean Plugins – 2.3.3
    Hydrogen Pack: by Clean Plugins – 1.3.8
    Fluent Forms: by Contact Form – WPManageNinja LLC – 4.2.21
    Fluent Forms Pro Add On Pack: by WP Fluent Forms – 4.2.0
    Lightbox for Gallery & Image Block: by Johannes Kinast – 1.10.0
    HappyFiles PRO: by Codeer – 1.6-beta
    Oxy Toolbox: by Gagan S Goraya
    Sridhar Katakam – 1.5.4

    OxyExtras: by OxyExtras – 1.3.8
    Oxygen Elements for WooCommerce: by Soflyy – 1.4
    Oxygen: by Soflyy – 3.8.1
    OxyMade: by Anvesh – 1.5.3
    SearchWP Live Ajax Search: by SearchWP
    LLC – 1.6.1

    SearchWP: by SearchWP – 4.1.22
    Ultimate Dashboard PRO: by David Vongries – 3.5.1
    Ultimate Dashboard: by David Vongries – 3.5.1
    Ultimate WooCommerce Auction Pro – Business: by Nitesh Singh – 2.1.9
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
    WooCommerce Stripe Gateway: by WooCommerce – 5.8.1
    WooCommerce: by Automattic – 5.9.0
    WP All Export Pro: by Soflyy – 1.7.3-beta-1.7
    SEOPress PRO: by SEOPress – 5.2.0
    SEOPress: by SEOPress – 5.2.0

    ### Inactive Plugins (17) ###

    Advanced Custom Fields: Theme Code Pro: by Hookturn with Ben Pearson – 2.5.2
    All-in-One WP Migration: by ServMask – 7.50
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.42
    Better Search Replace: by Delicious Brains – 1.3.4
    Duplicate Pages, Posts & CPT: by WP Ninjas – Jonas Tietgen
    Ferry Abt – 1.2

    Easy Add Thumbnail: by Samuel Aguilera – 1.1.3
    Jetpack: by Automattic – 10.3
    Newspack Content Converter: by Automattic – 0.0.13-alpha
    ShortPixel Image Optimizer: by ShortPixel – 4.22.6
    WooCommerce Customer/Order/Coupon CSV Import Suite: by SkyVerge – 3.10.2
    WP-Optimize Premium – Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.1.12

    WP All Import: by Soflyy – 3.6.4
    WP All Import – User Import Add-On Pro: by Soflyy – 1.1.6
    WP All Import – WooCommerce Add-On Pro: by Soflyy – 3.2.7
    WP All Import Pro: by Soflyy – 4.7.1
    WP Social Ninja: by WPManageNinja LLC – 3.1.1
    WP Social Ninja Pro: by WPManageNinja LLC – 3.0.4

    ### Must Use Plugins (2) ###

    ee-optimizer.php: by Max Zimmer –
    StackCache: by Stack CP –

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: auction (auction)
    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: #18054 – /shop/
    Basket: ❌ Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.
    Terms and conditions: #21 – /terms-and-conditions/

    ### Theme ###

    Name: Chaos
    Version: 1.0.0
    Author URL: https://chaosinternet.co.uk/
    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: –

    ### Action Scheduler ###

    Complete: 308
    Oldest: 2021-11-08 11:26:17 +0000
    Newest: 2021-12-07 09:17:28 +0000

    ### Status report information ###

    Generated at: 2021-12-07 23:00:17 +00:00
    `
    The only thing I see in the error log is a reference to the website not having an SSL certificate (on a staging site at the moment).

    Plugin Support Joash

    (@joashrajin)

    Hi @elaraweb 👋

    Thanks for sharing that with us. The error you’re seeing can show up for various reasons.

    I would suggest that you verify that Stripe is configured correctly by following the advice shown in the Setup Instructions page.

    You would also need to ensure that you add an SSL certificate to your site since that is a requirement for Stripe when used in Live Mode. Currently, your site is only using HTTP. Your Web Host should be able to add an SSL certificate for you so that it uses HTTPS (encrypted).

    If both of those options do not help get rid of the error, despite having both of those keys set, you can contact us directly via: https://woocommerce.com/my-account/create-a-ticket/

    Please make sure to add the link to this forum post in your ticket.

    Thanks!

    Thread Starter elaraweb

    (@elaraweb)

    Hi @joashrajin,

    I’ve set up lots of websites in the past without an SSL with no issue (I’m aware you cannot checkout in live mode without an SSL installed, however, there is not usually an error and test mode works fine).

    I’ve followed the exact steps outlined. I’ve set Stripe up on probably 100 different websites in the past, it seems something else is the issue in this particular install. I’ll set up a ticket – thanks for the help!

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    I’m going to mark this resolved here, as we’re going to work through this in the ticket.

    Have a great one!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught IntegrationError: Please call Stripe() with your publishable key.’ is closed to new replies.