• Resolved Eric Karkovack

    (@karks88)


    A few weeks back my client reported a problem with their checkout “spinning” and leading to duplicate orders. I followed the troubleshooting advice given in my forum post, and I thought everything was working.

    It looks like we’re having issues again. However, I’m noticing a trend in these orders. It seems like the first order only gets one item in the Order Notes area:

    https://www.americantechnologyinc.com/wp-content/uploads/2023/05/order-1-went-through.png

    The subsequent order has a more typical list of items in the Order Notes (Stripe payment intent created, Order status changed from Pending payment to Processing, Stripe charge completed).

    Could this be a communications issue between Stripe and the site?

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi,

    I understand your client was receiving duplicated orders and the checkout page was spinning, I understand you were following the recommendations made here: https://woocommerce.com/document/endless-loadingspinner-on-the-checkout-page/

    In this case, it is a good idea to check the logs, they can provide more information.

    The logs for Stripe are in your backend under WooCommerce > Settings > Payments > stripe > settings > advanced settings > Log error messages.

    Once enabled and save the settings, please try again to reproduce the issue You can go to WooCommerce > System Status > Logs to see if Stripe is displaying an error message about it.

    Let us know what you find to help to investigate this further, thanks.

    Thread Starter Eric Karkovack

    (@karks88)

    Thank you, @ihereira! I’ve turned on logging and will be on the lookout for errors.

    Hello,

    Be sure to provide the error logs generated, and feel free to redact any sensitive information on it.

    It would be great if you share your System Status Report as well, it can be found under WooCommerce > Status, on your site.

    Cheers.

    Thread Starter Eric Karkovack

    (@karks88)

    Hi @ihereira, I finally have another duplicate that came in yesterday. Here is the debug info for both the first and second orders. Do you see anything that would explain the issue?

    https://pastebin.com/J4SQAZHi

    And here’s the status report:

    WordPress Environment
    
    WordPress address (URL): https://www.americantechnologyinc.com
    Site address (URL): https://www.americantechnologyinc.com
    WC Version: 7.6.1
    REST API Version: ? 7.6.1
    WC Blocks Version: ? 9.8.5
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: – Server Environment Server Info: Apache
    PHP Version: 7.4.33.2
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1n SUHOSIN Installed: –
    MySQL Version: 5.7.41-44-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database WC Database Version: 7.6.1
    WC Database Prefix: wp_
    Total Database Size: 626.78MB
    Database Data Size: 370.83MB
    Database Index Size: 255.95MB
    wp_woocommerce_sessions: Data: 1.02MB + 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: 6.52MB + Index: 2.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 62.59MB + Index: 35.11MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + 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: 0.36MB + Index: 0.53MB + 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: 0.25MB + Index: 0.17MB + Engine InnoDB
    wp_commentmeta: Data: 1.52MB + Index: 0.84MB + Engine InnoDB
    wp_comments: Data: 29.55MB + Index: 20.09MB + Engine InnoDB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_entry: Data: 9.52MB + Index: 3.00MB + Engine InnoDB
    wp_gf_entry_meta: Data: 22.55MB + Index: 27.63MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_meta: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form_view: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_lockdowns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_login_fails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 6.44MB + Index: 0.20MB + Engine InnoDB
    wp_phppc_functions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_postmeta: Data: 145.67MB + Index: 110.23MB + Engine InnoDB
    wp_posts: Data: 11.52MB + Index: 8.02MB + Engine InnoDB
    wp_relevanssi: Data: 1.52MB + Index: 1.27MB + Engine InnoDB
    wp_relevanssi_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_relevanssi_stopwords: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_relevanssi_tracking: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rg_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rg_form_meta: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    wp_rg_form_view: Data: 2.52MB + Index: 2.02MB + Engine InnoDB
    wp_rg_incomplete_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rg_lead: Data: 7.52MB + Index: 0.73MB + Engine InnoDB
    wp_rg_lead_detail: Data: 9.52MB + Index: 15.06MB + Engine InnoDB
    wp_rg_lead_detail_bak: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    wp_rg_lead_detail_long: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
    wp_rg_lead_meta: Data: 6.52MB + Index: 4.55MB + Engine InnoDB
    wp_rg_lead_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sby_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sby_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sby_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_Spider_Video_Player_player: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_Spider_Video_Player_playlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_Spider_Video_Player_tag: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_Spider_Video_Player_theme: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_Spider_Video_Player_video: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_srzyt_albums: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_terms: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
    wp_usermeta: Data: 18.55MB + Index: 15.03MB + Engine InnoDB
    wp_users: Data: 2.52MB + Index: 1.23MB + Engine InnoDB
    wp_vtprd_purchase_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 1.52MB + Index: 0.34MB + 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: 2.52MB + Index: 1.34MB + Engine InnoDB
    wp_wc_order_stats: Data: 2.52MB + Index: 1.11MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.14MB + Index: 0.22MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + 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_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.20MB + Index: 0.13MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB Post Type Counts acf: 7
    acf-field: 19
    acf-field-group: 7
    amn_mi-lite: 1
    attachment: 288
    dpta_discounts: 2
    envira: 1
    nav_menu_item: 29
    page: 30
    post: 4
    product: 36
    product_tabpage: 3
    product_variation: 76
    qa_faqs: 58
    sby_videos: 11
    shop_coupon: 2
    shop_order: 33335
    shop_order_refund: 524
    sidebar: 2
    soliloquy: 1
    vtprd-rule: 1 Security Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (32) Gravity Forms: by Gravity Forms – 2.7.5
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0
    Advanced Custom Fields: by WP Engine – 6.1.6
    Advanced Text Widget: by Max Chirkov – 2.1.2
    Breadcrumb NavXT: by John Havlik – 7.2.0
    Classic Editor: by WordPress Contributors – 1.6.3
    Classic Widgets: by WordPress Contributors – 0.3
    Custom Post Type UI: by WebDevStudios – 1.13.5
    Enable Media Replace: by ShortPixel – 4.1.2
    Envira Gallery - Gallery Themes Addon: by Envira Gallery Team – 2.0.4
    Envira Gallery: by Envira Gallery Team – 1.9.6
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.14.1
    Page Links To: by Mark Jaquith – 3.3.6
    PHP Code For Posts: by Jamie Fraser – 2.2.2.1
    Q and A Focus Plus FAQ: by Lanexatek Creations – 1.3.9.7
    Relevanssi Premium: by Mikko Saari – 2.22.0
    Woocommerce Bulk Attribute Manager: by Varun Sridharan – 2.2.1
    WooCommerce Colors: by WooThemes – 1.0.7
    WooCommerce Conversion Tracking: by weDevs – 2.0.10
    Woocommerce Custom Tabs PRO: by WebshopLogic – 1.0.26 PRO
    Customizer for WooCommerce: by SkyVerge – 2.7.7
    WooCommerce PayPal Payments Advanced Gateway: by WooCommerce – 1.24.12
    WooCommerce Stripe Gateway: by WooCommerce – 7.4.0
    Pixel Manager for WooCommerce: by SweetCode – 1.30.6
    WooCommerce Gravity Forms Product Add-Ons: by Element Stark – 3.4.4
    WooCommerce PayPal Payments: by WooCommerce – 2.0.4
    WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.12.1
    WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.19.0
    WooCommerce Table Rate Shipping: by WooCommerce – 3.1.1
    WooCommerce: by Automattic – 7.6.1 (update to version 7.7.0 is available)
    Shipping Details for WooCommerce: by PatSaTECH – 1.7.9
    Feeds for YouTube Pro Personal: by Smash Balloon – 2.1 Inactive Plugins (5) Feeds for YouTube: by Smash Balloon YouTube Team – 2.0.6
    Jetpack: by Automattic – 12.1
    Login Lockdown: by WebFactory Ltd – 2.05
    Query Monitor: by John Blackbourn – 3.12.2
    Yoast SEO: by Team Yoast – 20.7 Dropin Plugins (1) advanced-cache.php: advanced-cache.php Must Use Plugins (5) Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WP Engine Cache Plugin: by WP Engine – 1.1.2
    WP Engine Seamless Login Plugin: by WP Engine – 1.6.0
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1 Settings API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bto (bto)
    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: #8 - /products/
    Cart: #61 - /cart/
    Checkout: #62 - /checkout/
    My account: #63 - /my-account/
    Terms and conditions: ? Page not set Theme Name: American Technology
    Inc. Version: 1.0
    Author URL: http://www.karks.com
    Child Theme: ?
    Parent Theme Name: StartBox
    Parent Theme Version: 2.7.2
    Parent Theme Author URL: http://wpstartbox.com
    WooCommerce Support: ? Templates Overrides: – WooCommerce PayPal Payments Onboarded: ?
    Shop country code: US
    WooCommerce currency supported: ?
    Advanced Card Processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    Vault enabled: –
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    Tracking enabled: – 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: block-editor-feature-enabled
    minified-js
    new-product-management-experience
    product-variation-management
    settings Daily Cron: ? Next scheduled: 2023-05-13 12:53:59 -04:00
    Options: ?
    Notes: 148
    Onboarding: completed Action Scheduler Complete: 1,196
    Oldest: 2023-04-12 00:02:34 -0400
    Newest: 2023-05-12 09:00:30 -0400 Failed: 2
    Oldest: 2023-04-20 09:35:28 -0400
    Newest: 2023-04-27 11:49:17 -0400 Pending: 3
    Oldest: 2023-05-12 14:42:16 -0400
    Newest: 2023-05-16 14:42:53 -0400 Status report information Generated at: 2023-05-12 09:07:41 -04:00
    `

    Saif

    (@babylon1999)

    Hello @karks88,

    So if I understand this correctly, the first order has only one comment with the payment intent.

    Nothing in the logs stands out so something tells me the problem has to do with this extension WooCommerce Sequential Order Numbers Pro so I suggest you try disabling it.

    If that doesn’t help, then please try disabling all plugins except WooCommerce and Stripe while activating the default Storefront theme.

    If the problem is not present after doing so, then you know there was a plugin conflict. You can enable plugins one by one again to find the culprit. If you’re not comfortable doing all of this on the live version of your site, you can create a staging environment using WP-STAGING and activate Stripe in test mode.

    I should note if the problem was due to the extension above or with any other extension sold on WooCommerce, then please open a ticket WooCommerce.com > MY profile > Support so we can look further into this.

    Let us know how it goes!

    Thread Starter Eric Karkovack

    (@karks88)

    Thanks, @babylon1999! WooCommerce Sequential Order Numbers Pro is an official extension, so I’ll reach out to their support to see if there’s anything to this.

    The issue is very intermittent. It was several days between duplicate orders coming through. And it only appears to happen with Stripe, as we also have PayPal Standard in use.

    Saif

    (@babylon1999)

    Thanks, @babylon1999! WooCommerce Sequential Order Numbers Pro is an official extension, so I’ll reach out to their support to see if there’s anything to this.

    Sounds great! I suggest trying to disable the extension yourself, as well as any other plugins that interfere with WooCommerce orders before reaching out to the plugin author, just to confirm whether that’s the case.

    Either way, we’ll be here should you have any other questions. :‎)

    Cheers!

    Thread Starter Eric Karkovack

    (@karks88)

    One minor update, we had a customer report the following error the first attempt to complete their order:

    Error processing checkout. Please try again.

    Once they saw the error, the customer tried again and created a second order.

    Not seeing anything in the Stripe logs that suggest an error.

    https://pastebin.com/wRUAx7UF

    Igor H

    (@ihereira)

    Hi,

    we had a customer report the following error the first attempt to complete their order:

    Error processing checkout. Please try again.

    To clarify, did you check with all plugins disabled, except WooCommerce and Stripe? As explained in our documentation? I am asking because I can see 3 payment gateways when checking the system report, and the error message is pretty generic.

    May I ask if you update WooCommerce to its latest version, does the issue persist?

    Let us know if you need more help.

    Thread Starter Eric Karkovack

    (@karks88)

    Hi @ihereira,

    This was on our production site, so nothing else was disabled. I can tell you that the Stripe account shows charges for both the first and second orders.

    I still need to get to those troubleshooting steps on staging.

    We are also running WooCommerce 7.7.0 as of late last week, before the order above came in.

    Thanks!
    Eric

    Igor H

    (@ihereira)

    Hello,

    For further assistance, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Important: Please include a link to this forum thread.

    Thanks!

    Thread Starter Eric Karkovack

    (@karks88)

    Thanks, @ihereira, I’ll create a ticket!

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

The topic ‘Duplicate Orders’ is closed to new replies.