• Resolved christianritterpro

    (@christianritterpro)


    Hello,

    For approx 4 weeks, clients have been reporting that they get an error message (“Payment not completed. There was an error processing your order. Please try again.”) suggesting that the payment has failed. But the payments are successful and the orders completed.

    It leads to clients buying a second time the same product thinking that the payment failed. Which lead to great dissatisfaction and significant Stripe fees to refund orders.

    Could you please help?

    Regards,
    Christian

Viewing 10 replies - 1 through 10 (of 10 total)
  • *Hello,

    To take a better look, please provide the following information:

    * 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”. 

    * Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if any other error is available).

    Looking forward to hearing from you.

    Thread Starter christianritterpro

    (@christianritterpro)

    Hi Igor,

    Thanks for the quick reply.

    Fatal Error Logs: nothing

    System Status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://souldimension.org
    Site address (URL): https://souldimension.org
    WC Version: 6.3.1
    REST API Version: ✔ 6.3.1
    WC Blocks Version: ✔ 6.9.0
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.2.1
    Log Directory Writable: ✔
    WP Version: 5.9.2
    WP Multisite: –
    WP Memory Limit: 640 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.27
    PHP Post Max Size: 300 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-log
    Max Upload Size: 300 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: wp_543194_
    Total Database Size: 294.38MB
    Database Data Size: 278.30MB
    Database Index Size: 16.08MB
    wp_543194_woocommerce_sessions: Data: 4.02MB + Index: 0.09MB + Engine InnoDB
    wp_543194_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_543194_woocommerce_order_items: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_543194_woocommerce_order_itemmeta: Data: 1.41MB + Index: 0.48MB + Engine InnoDB
    wp_543194_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_543194_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_woocommerce_payment_tokenmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_543194_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_actionscheduler_actions: Data: 1.02MB + Index: 0.67MB + Engine InnoDB
    wp_543194_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_actionscheduler_logs: Data: 1.02MB + Index: 0.31MB + Engine InnoDB
    wp_543194_commentmeta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wp_543194_comments: Data: 3.52MB + Index: 0.75MB + Engine InnoDB
    wp_543194_e_submissions: Data: 0.23MB + Index: 0.42MB + Engine InnoDB
    wp_543194_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_543194_e_submissions_values: Data: 0.20MB + Index: 0.30MB + Engine InnoDB
    wp_543194_fv_enteries: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
    wp_543194_fv_entry_meta: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_543194_fv_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_543194_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_543194_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_options: Data: 10.45MB + Index: 0.14MB + Engine InnoDB
    wp_543194_postmeta: Data: 172.36MB + Index: 5.84MB + Engine InnoDB
    wp_543194_posts: Data: 45.22MB + Index: 1.09MB + Engine InnoDB
    wp_543194_rafflepress_contestants: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_rafflepress_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_rafflepress_giveaways: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_rank_math_internal_links: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_543194_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_sib_model_contact: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_sib_model_country: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_sib_model_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_sib_model_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_usermeta: Data: 4.47MB + Index: 3.89MB + Engine InnoDB
    wp_543194_users: Data: 0.28MB + Index: 0.23MB + Engine InnoDB
    wp_543194_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_543194_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_wc_customer_lookup: Data: 0.14MB + Index: 0.13MB + Engine InnoDB
    wp_543194_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_wc_order_product_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_543194_wc_order_stats: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_543194_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_543194_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_543194_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_543194_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_543194_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_543194_wpml_mails: Data: 22.52MB + Index: 0.00MB + Engine InnoDB
    wp_543194_wpr_rucss_resources: Data: 9.19MB + Index: 0.06MB + Engine InnoDB
    wp_543194_wpr_rucss_used_css: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 255
    custom_css: 5
    customize_changeset: 2
    elementor_library: 12
    elementor_snippet: 3
    elementor-hf: 1
    nav_menu_item: 18
    oembed_cache: 4
    page: 32
    post: 16
    product: 22
    product_variation: 4
    revision: 4032
    rvs_video: 49
    shop_coupon: 5
    shop_order: 496
    shop_order_refund: 7
    shop_subscription: 6
    wc_membership_plan: 17
    wc_user_membership: 1932
    wp_global_styles: 1
    wpforms: 1
    xlwcty_thankyou: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (24) ###
    
    Accelerated Mobile Pages: by Ahmed Kaludi
    Mohammed Kaludi – 1.0.77.38
    
    Duplicate Page and Post: by Arjun Thakur – 2.6.6
    Elementor Pro: by Elementor.com – 3.6.4
    Elementor: by Elementor.com – 3.5.6
    Elementor Header & Footer Builder: by Brainstorm Force
    Nikhil Chavan – 1.6.9
    
    Imagify: by WP Media – 1.10
    Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: by Sendinblue – 3.1.36
    Facebook for WordPress: by Facebook – 3.0.6
    Really Simple SSL: by Really Simple Plugins – 5.3.0
    Rank Math SEO: by Rank Math – 1.0.84
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.11
    
    WP Videos: by Rogue Web Design – 3.0.4
    WPC Product Timer for WooCommerce: by WPClever – 3.6.0
    Checkout Fields Manager for WooCommerce: by QuadLayers – 5.5.5
    WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
    WooCommerce Memberships: by SkyVerge – 1.22.11
    WooCommerce Order Status Control: by SkyVerge – 1.14.0
    Sendinblue - WooCommerce Email Marketing: by Sendinblue – 2.0.34
    WooCommerce Social Login: by SkyVerge – 2.11.1
    WooCommerce Subscriptions: by WooCommerce – 4.0.2
    WooCommerce: by Automattic – 6.3.1
    Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.8.5
    WP Mail Logging: by Wysija – 1.10.4
    WP Rocket: by WP Media – 3.10.8
    
    ### Inactive Plugins (1) ###
    
    WPC Countdown Timer for WooCommerce: by WPClever – 2.3.2
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (1) ###
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    
    ### 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: –
    
    ### WC Pages ###
    
    Shop base: #30543 - /shop/
    Cart: #30544 - /cart/
    Checkout: #30545 - /checkout/
    My account: #30546 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Astra Child
    Version: 1.0.0
    Author URL: http://wpastra.com/about/
    Child Theme: ✔
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.9
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Memberships ###
    
    Restriction mode:: Hide completely
    Public content:: –
    Excluded from discounts:: –
    Membership plans:: 16
    Joy of Breathing & Vocal Toning Chakra Bija Mantras:: Members: 1Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing Healing:: Members: 1Access method: Manual assignment onlyAccess length: Unlimited Subscription: No
    Joy of Breathing & Vocal Toning 2 - Chakra Bija Mantras 10.03.2022:: Members: 25Access method: Product(s) purchaseAccess length: Fixed dates (29 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing & Vocal Toning The Chakras Meditation:: Members: 5Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing Subscription:: Members: 6Access method: Product(s) purchaseAccess length: Specific length (3 days)Subscription: YesInstallment plan: Yes
    Joy of Breathing & Vocal Toning The Chakras Meditation 10.02.2022:: Members: 30Access method: Product(s) purchaseAccess length: Fixed dates (30 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing Free Class:: Members: 1565Access method: User account registrationAccess length: Unlimited Subscription: No
    Joy of Breathing & Gratitude Meditation:: Members: 10Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing & Gratitude Meditation 13.01.2022:: Members: 22Access method: Product(s) purchaseAccess length: Fixed dates (30 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing & Inner Peace Mediation:: Members: 7Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing & Inner Peace Meditation 09.12.2021:: Members: 20Access method: Product(s) purchaseAccess length: Fixed dates (30 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing & Higher Self Mediation:: Members: 9Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing & Higher Self Meditation 11.11.2021:: Members: 30Access method: Product(s) purchaseAccess length: Fixed dates (30 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing & 7 Chakras Meditation:: Members: 12Access method: Product(s) purchaseAccess length: Specific length (15 days)Subscription: No
    Joy of Breathing & 7 Chakras Meditation 07.10.2021:: Members: 53Access method: Product(s) purchaseAccess length: Fixed dates (30 days)Subscription: No No access-granting products are purchasable
    Joy of Breathing Class Replay:: Members: 135Access method: Product(s) purchaseAccess length: Specific length (3 days)Subscription: No
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscriptions Live URL: https://souldimension.org
    Subscription Statuses: wc-active: 6
    WooCommerce Account Connected: ❌ No
    Custom Retry Rules: ✔ No
    Custom Retry Rule Class: ✔ No
    Custom Raw Retry Rule: ✔ No
    Custom Retry Rule: ✔ No
    Retries Migration Status: ✔ Completed
    Report Cache Enabled: ✔ Yes
    Cache Update Failures: ✔ 0 failure
    
    ### Store Setup ###
    
    Country / State: Switzerland — Vaud
    
    ### Subscriptions by Payment Gateway ###
    
    Stripe: wc-active: 6
    
    ### Payment Gateway Support ###
    
    Stripe: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    
    ### Social Login ###
    
    Facebook: ✔ Available
    Twitter: Disabled
    Google: ✔ Available
    Amazon: Disabled
    Linkedin: Disabled
    Paypal: Disabled
    Disqus: Disabled
    Yahoo: Disabled
    Vkontakte: Disabled
    
    ### Action Scheduler ###
    
    Complete: 1,655
    Oldest: 2022-02-14 14:11:48 +0100
    Newest: 2022-03-17 12:44:22 +0100
    
    Pending: 68
    Oldest: 2022-03-17 12:48:30 +0100
    Newest: 2025-03-18 00:00:00 +0100
    
    ### Status report information ###
    
    Generated at: 2022-03-17 12:45:39 +01:00
    
    Thread Starter christianritterpro

    (@christianritterpro)

    Hi Igor,

    I could identify the specific problematic use case:
    – Use of express checkout (from Stripe for Woocommerce plugin) for payment
    – Billing Address information are not filled in the standard Woocommerce Checkout page

    By using the standard payment process (no Express Checkout), clients must fill Billing Address information and therefore the problem does not occur.

    Regards,
    Christian

    Hi,

    Thanks for sending this information.

    To check further, please make sure you enabled Stripe at WooCommerce > Settings > Payments > Stripe, and place a test order.

    Then copy the logs from WooCommerce > Status > Logs (This will need to choose stripe from the drop-down). You can remove sensitive information from the logs (like email addresses, telephone numbers…).

    To paste the response you can use a service like: https://pastebin.com/

    Let us know, thank you.

    Thread Starter christianritterpro

    (@christianritterpro)

    Hi Igor,

    Please find below the anonymized logs of a problematic payment in PROD:

    2022-03-17T11:43:25+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    sources/src_1KeHjkLdIC4F3umMXaImyxBr
    ====End Log====
    
    2022-03-17T11:43:26+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    customers/cus_LKI6ArkBnH7S3a request: Array
    (
        [email] => client_username@gmail.com
        [description] => Name: Client_First_Name Client_Last_Name, Username: client_username
        [name] => Client_First_Name Client_Last_Name
        [metadata] => Array
            (
            )
    
        [preferred_locales] => Array
            (
                [0] => en-US
            )
    
    )
    
    ====End Log====
    
    2022-03-17T11:43:26+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Info: Begin processing payment for order 38739 for the amount of 3.00
    ====End Log====
    
    2022-03-17T11:43:26+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    payment_intents request: Array
    (
        [source] => src_1KeHjkLdIC4F3umMXaImyxBr
        [amount] => 300
        [currency] => usd
        [description] => • Company_Name - Order 38739
        [metadata] => Array
            (
                [customer_name] => Client_First_Name Client_Last_Name
                [customer_email] => client_username@gmail.com
                [order_id] => 38739
                [site_url] => https://WEBSITE.COM
            )
    
        [capture_method] => automatic
        [payment_method_types] => Array
            (
                [0] => card
            )
    
        [customer] => cus_LKI6ArkBnH7S3a
    )
    
    ====End Log====
    
    2022-03-17T11:43:27+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Stripe PaymentIntent pi_3KeHjmLdIC4F3umM2m9f4OmD initiated for order 38739
    ====End Log====
    
    2022-03-17T11:43:27+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    payment_intents/pi_3KeHjmLdIC4F3umM2m9f4OmD/confirm request: Array
    (
        [source] => src_1KeHjkLdIC4F3umMXaImyxBr
    )
    
    ====End Log====
    
    2022-03-17T11:43:29+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Stripe PaymentIntent pi_3KeHjmLdIC4F3umM2m9f4OmD succeeded for order 38739
    ====End Log====
    
    2022-03-17T11:43:29+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Processing response: stdClass Object
    (
        [id] => ch_3KeHjmLdIC4F3umM2JDCEA8E
        [object] => charge
        [amount] => 300
        [amount_captured] => 300
        [amount_refunded] => 0
        [application] => 
        [application_fee] => 
        [application_fee_amount] => 
        [balance_transaction] => txn_3KeHjmLdIC4F3umM2HNmgyFF
        [billing_details] => stdClass Object
            (
                [address] => stdClass Object
                    (
                        [city] => Client_City
                        [country] => CH
                        [line1] => Client_Street
                        [line2] => 
                        [postal_code] => 9999
                        [state] => 
                    )
    
                [email] => client_username@gmail.com
                [name] => Client_First_Name Client_Last_Name
                [phone] => +1 23 456 78 90
            )
    
        [calculated_statement_descriptor] => WEBSITE.COM
        [captured] => 1
        [created] => 1647517407
        [currency] => usd
        [customer] => cus_LKI6ArkBnH7S3a
        [description] => • Company_Name - Order 38739
        [destination] => 
        [dispute] => 
        [disputed] => 
        [failure_code] => 
        [failure_message] => 
        [fraud_details] => stdClass Object
            (
            )
    
        [invoice] => 
        [livemode] => 1
        [metadata] => stdClass Object
            (
                [customer_name] => Client_First_Name Client_Last_Name
                [customer_email] => client_username@gmail.com
                [order_id] => 38739
                [site_url] => https://WEBSITE.COM
            )
    
        [on_behalf_of] => 
        [order] => 
        [outcome] => stdClass Object
            (
                [network_status] => approved_by_network
                [reason] => 
                [risk_level] => normal
                [seller_message] => Payment complete.
                [type] => authorized
            )
    
        [paid] => 1
        [payment_intent] => pi_3KeHjmLdIC4F3umM2m9f4OmD
        [payment_method] => src_1KeHjkLdIC4F3umMXaImyxBr
        [payment_method_details] => stdClass Object
            (
                [card] => stdClass Object
                    (
                        [brand] => visa
                        [checks] => stdClass Object
                            (
                                [address_line1_check] => unavailable
                                [address_postal_code_check] => unavailable
                                [cvc_check] => 
                            )
    
                        [country] => CH
                        [exp_month] => 4
                        [exp_year] => 2024
                        [fingerprint] => 1Atv3HfZPqO8aq0X
                        [funding] => credit
                        [installments] => 
                        [last4] => 9999
                        [mandate] => 
                        [network] => visa
                        [three_d_secure] => 
                        [wallet] => stdClass Object
                            (
                                [dynamic_last4] => 9999
                                [google_pay] => stdClass Object
                                    (
                                    )
    
                                [type] => google_pay
                            )
    
                    )
    
                [type] => card
            )
    
        [receipt_email] => 
        [receipt_number] => 
        [receipt_url] => https://pay.stripe.com/receipts/acct_1I0lQLLdIC4F3umM/ch_3KeHjmLdIC4F3umM2JDCEA8E/rcpt_xxxxxxxxxxxxxxxx
        [refunded] => 
        [refunds] => stdClass Object
            (
                [object] => list
                [data] => Array
                    (
                    )
    
                [has_more] => 
                [total_count] => 0
                [url] => /v1/charges/ch_3KeHjmLdIC4F3umM2JDCEA8E/refunds
            )
    
        [review] => 
        [shipping] => 
        [source] => stdClass Object
            (
                [id] => src_1KeHjkLdIC4F3umMXaImyxBr
                [object] => source
                [amount] => 
                [card] => stdClass Object
                    (
                        [exp_month] => 4
                        [exp_year] => 2024
                        [last4] => 9999
                        [country] => CH
                        [brand] => Visa
                        [address_line1_check] => unavailable
                        [address_zip_check] => unavailable
                        [funding] => credit
                        [tokenization_method] => android_pay
                        [dynamic_last4] => 9999
                        [fingerprint] => 1Atv3HfZPqO8aq0X
                        [three_d_secure] => optional
                        [name] => 
                        [cvc_check] => 
                    )
    
                [client_secret] => src_client_secret_izVCy5j3xktmaSBT5VjWPCJc
                [created] => 1647517408
                [currency] => 
                [flow] => none
                [livemode] => 1
                [metadata] => stdClass Object
                    (
                    )
    
                [owner] => stdClass Object
                    (
                        [address] => stdClass Object
                            (
                                [city] => Client_City
                                [country] => CH
                                [line1] => Client_Street
                                [line2] => 
                                [postal_code] => 9999
                                [state] => 
                            )
    
                        [email] => client_username@gmail.com
                        [name] => Client_First_Name Client_Last_Name
                        [phone] => +1 23 456 78 90
                        [verified_address] => 
                        [verified_email] => 
                        [verified_name] => 
                        [verified_phone] => 
                    )
    
                [statement_descriptor] => 
                [status] => consumed
                [type] => card
                [usage] => reusable
            )
    
        [source_transfer] => 
        [statement_descriptor] => 
        [statement_descriptor_suffix] => 
        [status] => succeeded
        [transfer_data] => 
        [transfer_group] => 
    )
    
    ====End Log====
    
    2022-03-17T11:43:29+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    balance/history/txn_3KeHjmLdIC4F3umM2HNmgyFF
    ====End Log====
    Plugin Support Riaan K.

    (@riaanknoetze)

    Hi Christian,

    Thanks for those logs & status report; I couldn’t immediately find anything odd in the logs but did just want to confirm the following:

    • Is this happening when paying buy credit card or is that limited to Apple / Google Pay only?
    • Is the user redirected to any order confirmation page or is it just a case of the checkout page refreshing and then showing that failed payment notice?
    • Are order status changes happening as expected?
    • Are you seeing any order notes linked to the transaction?
    • I see some indications in the status report of custom coding (e.g. child theme, custom footers/header and a checkout field manager plugin) –> Do you have any customisations/settings that change the default checkout fields / functionality?

    Thanks!

    Thread Starter christianritterpro

    (@christianritterpro)

    Hi!

    Thanks for your reply.

    – I do believe that it is only happening with Express Checkout (Apple and Google Pay) but I have no way to be 100% sure
    – I could reproduce the problem with Google Pay: the Google Pay pop-up displays the error message and if I close it, the initial Checkout page is still present at the same state (ready to pay). This is why clients try to pay again and end up with 2 similar orders.
    – The order status change is happening the same way as for a “normal” successful payment
    – I see the same standard order notes as for “normal” successful orders:
    1) Stripe payment intent created (Payment Intent ID: pi_3KeHjmLdIC4F3umxxxxxxxxx)
    2) Order status changed from Pending payment to Completed.
    3) Stripe charge complete (Charge ID: ch_3KeHjmLdIC4F3umxxxxxxxx)
    – Custom coding:
    1) Child theme: I have some API POST calls to the CRM that are triggered with action hook ‘woocommerce_order_status_completed’. As it is happening after the payment has been done, it is not supposed to have any influence.
    2) Custom footers/header: no impact on Woocommerce functionalities
    3) Checkout Field Manager: I have disables some of the Billing Address fields displayed in Checkout page. Disabling this plugin (and therefore displaying all standard fields) doesn’t solve the problem.
    4) WooCommerce Order Status Control plugin: it is automatically updating the status of orders from Processing to Completed. Disabling this plugin doesn’t solve the problem

    Hope it helps.

    Regards,
    Christian

    Hello Christian.

    When inspecting the checkout page it is displaying a JavaScript error.

    To check this much better, you can perform a conflict test:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce and WooCommerce Stripe Payments
    • Be sure to place a test order

    We recommend WP Staging for quickly spinning up a new test site, in case you do not want to touch the production site.

    Then you can reactivate plugins one by one until you find what is the cause of the problem.
    You can find a more detailed explanation on how to do a conflict test here.

    Let us know if this makes a difference.

    Thread Starter christianritterpro

    (@christianritterpro)

    Hi Igor,

    Thanks for the valuable feedback.
    I could identify and fix 2 problems that were generating JavaScript errors.

    A re-test after the fixes still lead to the same problem with Express Checkout.

    Here is the logs in the Chrome Developer Tools Conole:

    This Element will be mounted to a DOM element that contains child nodes.
    t.a @ controller-31449690106fb498a299952ce1879128.js:1
    warn @ controller-31449690106fb498a299952ce1879128.js:1
    (anonymous) @ controller-31449690106fb498a299952ce1879128.js:1
    controller-31449690106fb498a299952ce1879128.js:1 You are using payment_element_beta_1, an outdated beta version of the Payment Element. To upgrade: https://stripe.com/docs/payments/payment-element/upgrade-from-beta
    t.a @ controller-31449690106fb498a299952ce1879128.js:1
    warn @ controller-31449690106fb498a299952ce1879128.js:1
    (anonymous) @ controller-31449690106fb498a299952ce1879128.js:1
    postMessage (async)
    p @ shared-9792061038fcd…03c779c0538785.js:1
    p._sendControllerMessage @ shared-9792061038fcd…03c779c0538785.js:1
    warn @ shared-9792061038fcd…03c779c0538785.js:1
    (anonymous) @ elements-inner-payme…84aed4240f9b3a.js:1
    ca @ elements-inner-payme…84aed4240f9b3a.js:1
    Va @ elements-inner-payme…84aed4240f9b3a.js:1
    t.unstable_runWithPriority @ elements-inner-payme…84aed4240f9b3a.js:1
    At @ elements-inner-payme…84aed4240f9b3a.js:1
    Fa @ elements-inner-payme…84aed4240f9b3a.js:1
    _a @ elements-inner-payme…84aed4240f9b3a.js:1
    (anonymous) @ elements-inner-payme…84aed4240f9b3a.js:1
    t.unstable_runWithPriority @ elements-inner-payme…84aed4240f9b3a.js:1
    At @ elements-inner-payme…84aed4240f9b3a.js:1
    Pt @ elements-inner-payme…84aed4240f9b3a.js:1
    Tt @ elements-inner-payme…84aed4240f9b3a.js:1
    ya @ elements-inner-payme…84aed4240f9b3a.js:1
    Mn @ elements-inner-payme…84aed4240f9b3a.js:1
    Promise.then (async)
    (anonymous) @ elements-inner-payme…84aed4240f9b3a.js:1
    ca @ elements-inner-payme…84aed4240f9b3a.js:1
    Va @ elements-inner-payme…84aed4240f9b3a.js:1
    t.unstable_runWithPriority @ elements-inner-payme…84aed4240f9b3a.js:1
    At @ elements-inner-payme…84aed4240f9b3a.js:1
    Fa @ elements-inner-payme…84aed4240f9b3a.js:1
    (anonymous) @ elements-inner-payme…84aed4240f9b3a.js:1
    l @ elements-inner-payme…84aed4240f9b3a.js:1
    N.port1.onmessage @ elements-inner-payme…84aed4240f9b3a.js:1
    pay.js:127 DEVELOPER_ERROR in loadPaymentData: An error occurred in call back, please try to avoid this by setting structured error in callback response
    E @ pay.js:127
    Hc @ pay.js:162
    (anonymous) @ pay.js:164
    Promise.then (async)
    Ic @ pay.js:164
    Qc.b.onpaymentmethodchange @ pay.js:171
    controller-31449690106fb498a299952ce1879128.js:1 Timed out waiting for a call to complete(). Once you have processed the payment in the "source" handler, you must call event.complete within 30 seconds.
    t.a @ controller-31449690106fb498a299952ce1879128.js:1
    warn @ controller-31449690106fb498a299952ce1879128.js:1
    (anonymous) @ controller-31449690106fb498a299952ce1879128.js:1

    And the Woocommerce logs related to this order:

    2022-03-21T10:31:20+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    sources/src_1KfiWALdIC4F3umMATYDkFLN
    ====End Log====
    
    2022-03-21T10:31:20+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    customers/cus_LKI6ArkBnH7S3a request: Array
    (
        [email] => client@gmail.com
        [description] => Name: Client First Name Client Last Name, Username: client
        [name] => Client First Name Client Last Name
        [metadata] => Array
            (
            )
    
        [preferred_locales] => Array
            (
                [0] => en-US
            )
    
    )
    
    ====End Log====
    
    2022-03-21T10:31:21+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    customers request: Array
    (
        [email] => client@gmail.com
        [description] => Name: Client First Name Client Last Name, Username: client
        [name] => Client First Name Client Last Name
        [metadata] => Array
            (
            )
    
        [preferred_locales] => Array
            (
                [0] => en-US
            )
    
    )
    
    ====End Log====
    
    2022-03-21T10:31:21+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    customers/cus_LMRPxYCnYVmexL request: Array
    (
        [email] => client@gmail.com
        [description] => Name: Client First Name Client Last Name, Username: client
        [name] => Client First Name Client Last Name
        [metadata] => Array
            (
            )
    
        [preferred_locales] => Array
            (
                [0] => en-US
            )
    
    )
    
    ====End Log====
    
    2022-03-21T10:31:22+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Info: Begin processing payment for order 38846 for the amount of 3.00
    ====End Log====
    
    2022-03-21T10:31:22+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    payment_intents request: Array
    (
        [source] => src_1KfiWALdIC4F3umMATYDkFLN
        [amount] => 300
        [currency] => usd
        [description] => • Company_Name - Order 38846
        [metadata] => Array
            (
                [customer_name] => Client First Name Client Last Name
                [customer_email] => client@gmail.com
                [order_id] => 38846
                [site_url] => https://website.com
            )
    
        [capture_method] => automatic
        [payment_method_types] => Array
            (
                [0] => card
            )
    
        [customer] => cus_LMRPxYCnYVmexL
    )
    
    ====End Log====
    
    2022-03-21T10:31:22+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Stripe PaymentIntent pi_3KfiWELdIC4F3umM1ftBK2nS initiated for order 38846
    ====End Log====
    
    2022-03-21T10:31:22+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    payment_intents/pi_3KfiWELdIC4F3umM1ftBK2nS/confirm request: Array
    (
        [source] => src_1KfiWALdIC4F3umMATYDkFLN
    )
    
    ====End Log====
    
    2022-03-21T10:31:24+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Stripe PaymentIntent pi_3KfiWELdIC4F3umM1ftBK2nS succeeded for order 38846
    ====End Log====
    
    2022-03-21T10:31:24+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    Processing response: stdClass Object
    (
        [id] => ch_3KfiWELdIC4F3umM1e3z6SHb
        [object] => charge
        [amount] => 300
        [amount_captured] => 300
        [amount_refunded] => 0
        [application] => 
        [application_fee] => 
        [application_fee_amount] => 
        [balance_transaction] => txn_3KfiWELdIC4F3umM1iKIqUHC
        [billing_details] => stdClass Object
            (
                [address] => stdClass Object
                    (
                        [city] => City
                        [country] => CH
                        [line1] => Street
                        [line2] => 
                        [postal_code] => 9999
                        [state] => 
                    )
    
                [email] => client@gmail.com
                [name] => Client First Name Client Last Name
                [phone] => +11111111111
            )
    
        [calculated_statement_descriptor] => WEBSITE.COM
        [captured] => 1
        [created] => 1647858683
        [currency] => usd
        [customer] => cus_LMRPxYCnYVmexL
        [description] => • Company_Name - Order 38846
        [destination] => 
        [dispute] => 
        [disputed] => 
        [failure_code] => 
        [failure_message] => 
        [fraud_details] => stdClass Object
            (
            )
    
        [invoice] => 
        [livemode] => 
        [metadata] => stdClass Object
            (
                [customer_name] => Client First Name Client Last Name
                [customer_email] => client@gmail.com
                [order_id] => 38846
                [site_url] => https://website.com
            )
    
        [on_behalf_of] => 
        [order] => 
        [outcome] => stdClass Object
            (
                [network_status] => approved_by_network
                [reason] => 
                [risk_level] => normal
                [risk_score] => 22
                [seller_message] => Payment complete.
                [type] => authorized
            )
    
        [paid] => 1
        [payment_intent] => pi_3KfiWELdIC4F3umM1ftBK2nS
        [payment_method] => src_1KfiWALdIC4F3umMATYDkFLN
        [payment_method_details] => stdClass Object
            (
                [card] => stdClass Object
                    (
                        [brand] => visa
                        [checks] => stdClass Object
                            (
                                [address_line1_check] => pass
                                [address_postal_code_check] => pass
                                [cvc_check] => 
                            )
    
                        [country] => US
                        [exp_month] => 4
                        [exp_year] => 2033
                        [fingerprint] => 1fZlpnVQHe8L7m44
                        [funding] => credit
                        [installments] => 
                        [last4] => 9999
                        [mandate] => 
                        [network] => visa
                        [three_d_secure] => 
                        [wallet] => stdClass Object
                            (
                                [dynamic_last4] => 4242
                                [google_pay] => stdClass Object
                                    (
                                    )
    
                                [type] => google_pay
                            )
    
                    )
    
                [type] => card
            )
    
        [receipt_email] => 
        [receipt_number] => 
        [receipt_url] => https://pay.stripe.com/receipts/acct_1I0lQLLdIC4F3umM/ch_3KfiWELdIC4F3umM1e3z6SHb/rcpt_LMRP7lypyeAlhjYSSp1ymVWwxxxxxxx
        [refunded] => 
        [refunds] => stdClass Object
            (
                [object] => list
                [data] => Array
                    (
                    )
    
                [has_more] => 
                [total_count] => 0
                [url] => /v1/charges/ch_3KfiWELdIC4F3umM1e3z6SHb/refunds
            )
    
        [review] => 
        [shipping] => 
        [source] => stdClass Object
            (
                [id] => src_1KfiWALdIC4F3umMATYDkFLN
                [object] => source
                [amount] => 
                [card] => stdClass Object
                    (
                        [exp_month] => 4
                        [exp_year] => 2033
                        [last4] => 9999
                        [country] => US
                        [brand] => Visa
                        [address_line1_check] => pass
                        [address_zip_check] => pass
                        [funding] => credit
                        [tokenization_method] => android_pay
                        [dynamic_last4] => 4242
                        [fingerprint] => 1fZlpnVQHe8L7m44
                        [three_d_secure] => optional
                        [name] => 
                        [cvc_check] => 
                    )
    
                [client_secret] => src_client_secret_hqkHohWaMtlNmzmxj6O9pbiQ
                [created] => 1647858683
                [currency] => 
                [flow] => none
                [livemode] => 
                [metadata] => stdClass Object
                    (
                    )
    
                [owner] => stdClass Object
                    (
                        [address] => stdClass Object
                            (
                                [city] => City
                                [country] => CH
                                [line1] => Street
                                [line2] => 
                                [postal_code] => 9999
                                [state] => 
                            )
    
                        [email] => client@gmail.com
                        [name] => Client First Name Client Last Name
                        [phone] => +11111111111
                        [verified_address] => 
                        [verified_email] => 
                        [verified_name] => 
                        [verified_phone] => 
                    )
    
                [statement_descriptor] => 
                [status] => consumed
                [type] => card
                [usage] => reusable
            )
    
        [source_transfer] => 
        [statement_descriptor] => 
        [statement_descriptor_suffix] => 
        [status] => succeeded
        [transfer_data] => 
        [transfer_group] => 
    )
    
    ====End Log====
    
    2022-03-21T10:31:24+00:00 DEBUG 
    ====Stripe Version: 6.3.0====
    ====Start Log====
    balance/history/txn_3KfiWELdIC4F3umM1iKIqUHC
    ====End Log====

    Hey @christianritterpro,

    I’m glad you were able to fix those JavaScript errors. Sorry to hear that didn’t take care of the situation with Express Payments though.

    Could I get you to open up a ticket at WooCommerce.com for us? We’ll be better able to help out there.

    https://woocommerce.com/my-account/create-a-ticket/

    Thanks!

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

The topic ‘“Payment not completed” error message while payment is successful’ is closed to new replies.