• Resolved vinitabansal

    (@vinitabansal)


    Hi,

    Recently, out of hundreds of transactions on my platform, some transactions that are showing “Payment successful” in Stripe are showing “Payment Pending” in Woocommerce order section.

    On investigating further, I found that order is only showing Payment Intent (first event from stripe) update from stripe. All the other webhook events sent are not updating order status. I have checked stripe logs and all events and logs are showing 200 status code with proper status till charged and success (there are no webhook failures reported by stripe). However, none of these events are shown in order update which keeps the order stuck in payment pending state.

    I even submitted the webhook events manually from stripe (payment_intent.succeeded event) and enabled stripe debug logs.

    Woocommerce status logs show:

    2024-05-25T11:59:28+00:00 Debug

    ====Stripe Version: 8.3.0==== ====

    Stripe Plugin API Version: 2019-09-09==== ====

    Start Log==== Stripe UPE waiting for redirect. The status for order 3599 might need manual adjustment.

    ====End Log====

    Even after resending webhook events manually again from stripe and stripe webhook reporting 200 status codes, these events are not updating order status. Out of 4 recent orders, one got updated while 3 went into payment processing. This issue started occurring 2 days back and I have not faced this issue before. What does the above error “Stripe UPE waiting for redirect. The status for order 3599 might need manual adjustment.” mean and what do I need to do to fix the issue?

    Pasting woocommerce system logs stats for your reference:

    ` WordPress Environment
    
    WordPress address (URL): https://www.shop.techtello.com
    Site address (URL): https://www.shop.techtello.com
    WC Version: 8.9.1
    REST API Version: ? 8.9.1
    Action Scheduler Version: ? 3.7.4
    Log Directory Writable: ?
    WP Version: 6.5.3
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: – Server Environment
    
    Server Info: Apache
    PHP Version: 8.2.18
    PHP Post Max Size: 2 GB
    PHP Time Limit: 900
    PHP Max Input Vars: 3000
    cURL Version: 8.7.1
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.23-23
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.6.1
    WC Database Prefix: Qf4_
    Total Database Size: 65.23MB
    Database Data Size: 49.94MB
    Database Index Size: 15.29MB
    Qf4_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_woocommerce_downloadable_product_permissions: Data: 0.08MB + Index: 0.13MB + Engine InnoDB
    Qf4_woocommerce_order_items: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    Qf4_woocommerce_order_itemmeta: Data: 0.45MB + Index: 0.42MB + Engine InnoDB
    Qf4_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_actionscheduler_actions: Data: 6.02MB + Index: 3.22MB + Engine InnoDB
    Qf4_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_actionscheduler_logs: Data: 3.02MB + Index: 3.03MB + Engine InnoDB
    Qf4_bwf_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_bwf_contact_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_bwf_funnelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_bwf_funnels: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_bwf_optin_entries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_bwf_wc_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_comments: Data: 0.23MB + Index: 0.28MB + Engine InnoDB
    Qf4_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    Qf4_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_nfd_data_event_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_options: Data: 5.03MB + Index: 1.11MB + Engine InnoDB
    Qf4_postmeta: Data: 4.42MB + Index: 3.03MB + Engine InnoDB
    Qf4_posts: Data: 6.09MB + Index: 0.22MB + Engine InnoDB
    Qf4_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_shortpixel_postmeta: Data: 0.27MB + Index: 0.45MB + Engine InnoDB
    Qf4_shortpixel_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    Qf4_snippets: Data: 0.03MB + Index: 0.03MB + Engine InnoDB
    Qf4_termmeta: Data: 1.02MB + Index: 0.67MB + Engine InnoDB
    Qf4_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    Qf4_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    Qf4_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    Qf4_vxc_zoho_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_vxc_zoho_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    Qf4_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    Qf4_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_wc_download_log: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    Qf4_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    Qf4_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_wc_order_product_lookup: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    Qf4_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    Qf4_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    Qf4_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wfacp_stats: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    Qf4_wfconfig: Data: 1.28MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfco_report_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    Qf4_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wffilemods: Data: 12.55MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfhits: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    Qf4_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_wfknownfilelist: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
    Qf4_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wflogins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    Qf4_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    Qf4_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    Qf4_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    Qf4_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    Qf4_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_woof_front_builder: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_woof_sd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_woof_sd_presets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Qf4_yoast_indexable: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
    Qf4_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    Qf4_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    Qf4_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    Qf4_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts
    
    accordions: 29
    attachment: 319
    custom_css: 1
    customize_changeset: 87
    helpie_faq: 7
    nav_menu_item: 8
    page: 8
    post: 2
    product: 26
    revision: 60
    shop_coupon: 2
    shop_order: 541
    vxc_zoho: 1
    wp_global_styles: 1
    wp_navigation: 1
    wpcode: 2
    yaymail_template: 11 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (33)
    
    Accordions Combo: by PickPlugins – 2.2.97
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.27.0
    Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2
    The Bluehost Plugin: by Bluehost – 3.10.2
    Code Snippets: by Code Snippets Pro – 3.6.4
    GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.20.2
    Facebook for WooCommerce: by Facebook – 3.2.2
    Font Awesome: by Font Awesome – 4.4.0
    Google Listings and Ads: by WooCommerce – 2.7.0
    Helpie FAQ: by HelpieWP – 1.24
    WPCode Lite: by WPCode – 2.1.12
    Mailchimp for WooCommerce: by Mailchimp – 4.0.2
    Pinterest for WooCommerce: by WooCommerce – 1.3.24
    ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images – 5.6.2
    Themify - WooCommerce Product Filter: by Themify – 1.4.3
    TinyPNG - JPEG, PNG & WebP image compression: by TinyPNG – 3.4.3
    TP Product Image Flipper for Woocommerce: by TP Plugins – 2.0.2
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.24.3
    
    Quantity Plus Minus Button for WooCommerce by CodeAstrology: by CodeAstrology Team – 1.2.1
    Notification for WooCommerce: by Andy Ha (villatheme.com) – 1.2.17
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.5.1
    Product Gallery Slider for WooCommerce: by Codeixer – 2.2.7.1
    WooCommerce Modal Fly Cart + Ajax Add to cart: by aThemeArt – 1.5.5
    WooCommerce Stripe Gateway: by WooCommerce – 8.3.0
    Google Analytics for WooCommerce: by WooCommerce – 2.0.7
    WooCommerce PayPal Payments: by WooCommerce – 2.7.0
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.2
    WooCommerce Price Based on Country: by Oscar Gare – 3.4.5
    WooCommerce: by Automattic – 8.9.1
    Wordfence Security: by Wordfence – 7.11.5
    Yoast SEO: by Team Yoast – 22.7
    WP Rollback: by WP Rollback – 2.0.7
    YayMail - WooCommerce Email Customizer: by YayCommerce – 3.5.1 Inactive Plugins (2)
    
    Hello Dolly: by Matt Mullenweg – 1.7.2
    No Self Ping: by David Artiss – 1.2 Must Use Plugins (2)
    
    Endurance Page Cache: by Mike Hansen – 2.2.1
    SSO: by Garth Mortensen
    Mike Hansen – 0.4 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)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: ?
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: – Logging
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 105 KB WC Pages
    
    Shop base: #11 - /
    Cart: #6 - /cart/
    Checkout: #7 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: ? Page not set Theme
    
    Name: Storefront
    Version: 4.6.0
    Author URL: https://woocommerce.com/
    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: – Geolocation debug info
    
    Default customer location: geolocation
    MaxMind GeoIP database: ?
    MaxMind GeoIP license: ?
    MM_COUNTRY_CODE: ?
    GEOIP_COUNTRY_CODE: ?
    HTTP_CF_IPCOUNTRY: ?
    HTTP_X_COUNTRY_CODE: ?
    HTTP_X_REAL_IP: 27.59.43.200
    HTTP_X_FORWARDED_FOR: 27.59.43.200
    REMOTE_ADDR: 27.59.43.200
    Real external IP: 2401:4900:3316:417d:998c:946d:409:ca56
    WCPBC_USE_REMOTE_ADDR: –
    Geolocation Test: ? PBC Settings
    
    Version: 3.4.5
    Base location: IN:KA
    Base currency: USD
    Price Based On: billing
    Shipping: –
    Test mode: –
    Test country: –
    Load products price in background: –
    Prices entered with tax: –
    Calculate tax based on: shipping
    Display prices in the shop: excl Zone Pricing India
    
    zone_id: india
    enabled: yes
    name: India
    countries: IN
    currency: INR
    exchange_rate: 80
    auto_exchange_rate: no
    disable_tax_adjustment: no
    order: 9999 Zone Pricing US
    
    zone_id: us
    enabled: yes
    name: US
    countries: AF | AX | AL | DZ | AS | AD | AO | AI | AQ | AG | AR | AM | AW | AU | AT | AZ | BS | BH | BD | BB | BY | PW | BE | BZ | BJ | BM | BT | BO | BQ | BA | BW | BV | BR | IO | BN | BG | BF | BI | KH | CM | CA | CV | KY | CF | TD | CL | CN | CX | CC | CO | KM | CG | CD | CK | CR | HR | CU | CW | CY | CZ | DK | DJ | DM | DO | EC | EG | SV | GQ | ER | EE | SZ | ET | FK | FO | FJ | FI | FR | GF | PF | TF | GA | GM | GE | DE | GH | GI | GR | GL | GD | GP | GU | GT | GG | GN | GW | GY | HT | HM | HN | HK | HU | IS | ID | IR | IQ | IE | IM | IL | IT | CI | JM | JP | JE | JO | KZ | KE | KI | KW | KG | LA | LV | LB | LS | LR | LY | LI | LT | LU | MO | MG | MW | MY | MV | ML | MT | MH | MQ | MR | MU | YT | MX | FM | MD | MC | MN | ME | MS | MA | MZ | MM | NA | NR | NP | NL | NC | NZ | NI | NE | NG | NU | NF | KP | MK | MP | NO | OM | PK | PS | PA | PG | PY | PE | PH | PN | PL | PT | PR | QA | RE | RO | RU | RW | ST | BL | SH | KN | LC | SX | MF | PM | VC | WS | SM | SA | SN | RS | SC | SL | SG | SK | SI | SB | SO | ZA | GS | KR | SS | ES | LK | SD | SR | SJ | SE | CH | SY | TW | TJ | TZ | TH | TL | TG | TK | TO | TT | TN | TR | TM | TC | TV | UG | UA | AE | GB | US | UM | UY | UZ | VU | VA | VE | VN | VG | VI | WF | EH | YE | ZM | ZW
    currency: USD
    exchange_rate: 1
    auto_exchange_rate: no
    disable_tax_adjustment: no
    order: 9999 WooCommerce PayPal Payments
    
    Onboarded: ?
    Shop country code: IN
    WooCommerce currency supported: ?
    Advanced Card Processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: ?
    PayPal Vault enabled: ?
    ACDC Vault enabled: –
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    Subscriptions Mode: Disabled Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    product-linked
    product-pre-publish-modal
    product-custom-fields
    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
    settings
    async-product-editor-category-field
    launch-your-store
    
    Daily Cron: ? Next scheduled: 2024-05-26 12:08:25 +05:30
    Options: ?
    Notes: 188
    Onboarding: completed Action Scheduler
    
    Complete: 8,665
    Oldest: 2024-04-25 13:03:36 +0530
    Newest: 2024-05-26 13:02:38 +0530
    
    Failed: 20
    Oldest: 2022-11-02 07:11:12 +0530
    Newest: 2024-01-12 16:04:09 +0530
    
    Pending: 12
    Oldest: 2024-05-26 13:12:38 +0530
    Newest: 2024-05-27 10:19:54 +0530 Status report information
    
    Generated at: 2024-05-26 13:03:00 +05:30
    `

    Thanks,

    Vinita

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @vinitabansal,

    Thank you for providing a detailed description of the issue you’re experiencing with the payment status updates in WooCommerce.

    Your situation seems to be a known bug, and I appreciate you taking the time to investigate it so thoroughly. This issue has been reported here:?https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2536.

    The good news is that there is a workaround which some users have found effective, detailed in a comment on the issue thread: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2536#issuecomment-1699285161.

    Before you attempt any workaround, I strongly recommend taking a full backup of your store and its database to ensure the safety of your data. Once you’ve secured a backup, you can proceed with the suggested temporary solution.

    Please let us know how it goes with the workaround. If it solves the problem for you, or if you have further questions or need additional assistance, keep us updated.?

    Thread Starter vinitabansal

    (@vinitabansal)

    Thanks for your reply Rajesh. I did check the threads you’ve suggested before reporting this issue. However, not clear on how the solution provided serves as workaround:

    function site_change_order_to_processing( $order ) {
        $order->update_status( 'processing', __( 'Manual changed to Processing because of Stripe Webhook race condition.', 'site' ), true );
    }
    add_action( 'wc_gateway_stripe_process_payment_intent_incomplete', 'site_change_order_to_processing' );

    We can’t automatically mark order status to processing without actually checking if stripe payment went through or not. Please let me know if I am getting the intent of this function wrong.

    Also, can you please confirm these 2 things:

    1. We haven’t noticed this issue in the last 1+ year with hundreds of transactions. However, in the last 3 days, this has happened thrice.
    2. By when is the issue expected to be be fixed? I can see that the thread is a year old when the issue was first reported. It will help to have some timelines in mind.

    Thanks for all your help,

    Vinita

    George

    (@subscriptiongroup)

    Hi @rajeshml it’s highly likely their issue is related to a new bug introduced on 8.3.0 and is reported here https://github.com/woocommerce/woocommerce-gateway-stripe/issues/3154 rather than the older (over a year old) bug you linked.

    Many (most?) of the payment issues reported on the forum recently would be caused by 3154 so it needs to be looked at promptly.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello vinitabansal

    Thank you for your reply.

    As George mentioned, the error you are facing appears to be this one.
    The good news is that it has been fixed and an update will be released in version 8.3.1 of the WooCommerce Stripe plugin.

    We appreciate your time and patience. ??

    Best regards.

    Thread Starter vinitabansal

    (@vinitabansal)

    Thank you for confirming the fix Zubair. When is 8.3.1 planned to be released? It will help us determine till when we need to manually monitor the order.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @vinitabansal

    I understand the urgency of the situation and your need to know when version 8.3.1 is going to be released. While I don’t have a specific date for the release, I can assure you that our team is working diligently to roll out the update as quickly as possible. You will be notified via WordPress plugin update nag as soon as the update is available.

    Thank you for your understanding and patience.

    Hi, I have similar problems on 8.3.1 version (WC 8.9.1; WP 6.5.3). Some orders are paid in Stripe but still pending in Woocommerce. I waited about an hour or so to see if it would synchronize on its own. I tried sending the webhook again from Strip but that didn’t help. I talked to Stripe. They say it’s a problem with Woocommerce. I eventually changed the status of the order manually.

    log snippets:

    2024-06-01T13:19:58+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents request: Array
    (
    ###
    )
    ====End Log====
    
    2024-06-01T13:19:59+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents response with stripe-version: 2019-09-09
    ====End Log====
    
    2024-06-01T13:20:35+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Begin processing UPE redirect payment for order 1550 for the amount of 99.00
    ====End Log====
    
    2024-06-01T13:20:35+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents/pi_############YVXc16JYOgdY?expand[]=payment_method
    ====End Log====
    
    2024-06-01T13:21:12+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Could not find order via charge ID: py_############YVXc1MP48LJB
    ====End Log====
    
    2024-06-01T13:21:12+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    charges/py_############YVXc1MP48LJB request: Array
    (
    )
    ====End Log====
    
    2024-06-01T13:21:13+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    charges/py_############YVXc1MP48LJB response with stripe-version: 2019-09-09
    ====End Log====
    
    2024-06-01T13:21:13+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Stripe PaymentIntent pi_############YVXc16JYOgdY succeeded for order 1550
    ====End Log====
    
    2024-06-01T13:21:13+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Stripe UPE waiting for redirect. The status for order 1550 might need manual adjustment.
    ====End Log====
    
    2024-06-01T14:13:07+00:00 
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Could not find order via charge ID: py_############YVXc1MP48LJB
    ====End Log====
    
    
    • This reply was modified 5 months, 4 weeks ago by mimm.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @y99u89

    From the logs you’ve shared, it seems there was an issue with finding the order via the charge ID py_############YVXc1MP48LJB. This issue occurred twice, once at 13:21:12 and again at 14:13:07. However, the logs also indicate that the Stripe PaymentIntent pi_############YVXc16JYOgdY was successful for order 1550.

    The message “Stripe UPE waiting for redirect. The status for order 1550 might need manual adjustment” suggests that there might have been a delay or issue with the redirect after the payment was processed.

    To troubleshoot the issue further, I recommend you create and configure the webhooks again. While doing so, ensure you select the latest API version and pick out the essential events. More info:

    I hope this helps! Please let us know how it goes or if you need further assistance.

    @shameemreza many thanks for your response. I just recreated my webhook by the documentation you provided. I will monitor my orders and let you know if the problem occurs again. Thank you

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @y99u89,

    Sounds like a plan.

    I’ll go ahead and mark the thread as resolved at the moment. But should any issues arise, please free to reply here and we will pick up from where we left.

    Have a wonderful weekend.

    Hello,
    Unfortunately, the problem has reappeared. Despite the successful payment in Stripe, the woocommerce order was not updated three hours after the payment was made. I had to manually change its status. This and previous failed orders were paid by p24 (Przelewy24) method. However most of the time p24 works properly.

    woocommerce-gateway-stripe:

    2024-06-04T17:08:34+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents request: Array
    (
        [capture_method] => automatic
        [payment_method] => pm_########YVXcOwpYatv5
        [shipping] => 
        [return_url] => 
        [amount] => 8900
        [confirm] => true
        [currency] => pln
        [customer] => ###########
        [description] => ###########
        [metadata] => Array
            (
                [customer_name] => ###########
                [customer_email] => ###########
                [site_url] => ###########
                [order_id] => 1567
                [order_key] => wc_order_#####ce4fHaSm
                [payment_type] => single
            )
    
        [payment_method_types] => Array
            (
                [0] => p24
            )
    
    )
    
    ====End Log====
    
    2024-06-04T17:08:36+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents response with stripe-version: 2019-09-09
    ====End Log====
    
    2024-06-04T17:09:51+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Begin processing UPE redirect payment for order 1567 for the amount of 89.00
    ====End Log====
    
    2024-06-04T17:09:51+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    payment_intents/pi_################1VDjrwVm?expand[]=payment_method
    ====End Log====
    
    2024-06-04T17:09:56+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    charges/py_################18iE8BlV request: Array
    (
    )
    ====End Log====
    
    2024-06-04T17:09:56+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Could not find order via charge ID: py_################18iE8BlV
    ====End Log====
    
    2024-06-04T17:09:57+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    charges/py_################18iE8BlV response with stripe-version: 2019-09-09
    ====End Log====
    
    2024-06-04T17:09:57+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Stripe PaymentIntent pi_################1VDjrwVm succeeded for order 1567
    ====End Log====
    
    2024-06-04T17:09:57+00:00  
    ====Stripe Version: 8.3.1====
    ====Stripe Plugin API Version: 2019-09-09====
    ====Start Log====
    Stripe UPE waiting for redirect. The status for order 1567 might need manual adjustment.
    ====End Log====

    Notes from Order 1567:

    Stripe payment intent created (Payment Intent ID: pi_################1VDjrwVm)
    2024-06-04 19:08

    Stripe logs

    ALL ACTIVITY
    
    py_################iE8BlV was charged PLN 89.00
    04/06/2024, 19:09:55
    
    PaymentIntent status: succeeded
    
    The payment pi_################1VDjrwVm for PLN 89.00 has succeeded
    04/06/2024, 19:09:55
    
    The payment pi_################1VDjrwVm for PLN 89.00 requires you to take action in order to complete the payment
    04/06/2024, 19:08:36
    
    A new payment pi_################1VDjrwVm for PLN 89.00 was created
    04/06/2024, 19:08:34
    
    PaymentIntent status: requires_action
    
    200 OK A request to create a PaymentIntent completed
    04/06/2024, 19:08:34

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello mimm

    Thank you for your reply.

    Could you tell me if there have been any successful orders via Przelewy24 after you recreated the hooks?
    Orders where the order status was automatically updated?

    I am trying to determine if this is consistent behavior with orders via Przelewy24.
    This will help me narrow down the reason behind the delay in redirection after the payment is processed.

    Looking forward to your response. ??

    Best regards.

    Could you tell me if there have been any successful orders via?Przelewy24?after you recreated the hooks?

    Yes, about five p24 orders have been correctly updated since the webhooks were recreated.

    Hey, @y99u89!

    Thank you for confirming that.

    Per WordPress forum guidelines, would you mind opening up a new thread for this so that we can keep things organized and offer more personalized support for you? Please share the link to this thread so our team can see the information you already shared here. We’ll be happy to help you out with this over there!

    Have a wonderful day!

Viewing 15 replies - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.