• Resolved rezakhodarahmi

    (@rezakhodarahmi)


    Hello
    Woocommerce Stripe order stay pending payment after successful payment;
    This is the order note: ”status changed from completed to pending payment.”
    Woocommerce status report:

    
    2022-08-28T04:30:22+00:00 DEBUG 
    ====Stripe Version: 6.6.0====
    
    2022-08-28T06:56:58+00:00 DEBUG 
    ====Stripe Version: 6.6.0====
    ====Start Log====
    Processing response: stdClass Object
    (
        [id] => ch_3LbfQS*****
        [object] => charge
        [amount] => 45000
        [amount_captured] => 45000
        [amount_refunded] => 0
        [application] => 
        [application_fee] => 
        [application_fee_amount] => 
        [balance_transaction] => txn_3LbfQSG5Tuvs******
        [billing_details] => stdClass Object
            (
                [address] => stdClass Object
                    (
                        [city] => Vancouver
                        [country] => CA
                        [line1] => street
                        [line2] => 
                        [postal_code] => ****
                        [state] => BC
                    )
    
                [email] => ******@gmail.com
                [name] => Reza KhodaRahmi
                [phone] => 123456789
            )
    
        [calculated_statement_descriptor] => FANAVARAN
        [captured] => 1
        [created] => 16616***
        [currency] => cad
        [customer] => cus_MK0NAKt*****
        [description] => ????? ??? ? ?????? ??????? - Order 31***
        [destination] => 
        [dispute] => 
        [disputed] => 
        [failure_balance_transaction] => 
        [failure_code] => 
        [failure_message] => 
        [fraud_details] => stdClass Object
            (
            )
    
        [invoice] => 
        [livemode] => 
        [metadata] => stdClass Object
            (
                [customer_email] => *****@gmail.com
                [customer_name] => Reza KhodaRahmi
                [order_id] => 31***
                [site_url] => https://fanavaran.ca
            )
    
        [on_behalf_of] => 
        [order] => 
        [outcome] => stdClass Object
            (
                [network_status] => approved_by_network
                [reason] => 
                [risk_level] => normal
                [risk_score] => 43
                [seller_message] => Payment complete.
                [type] => authorized
            )
    
        [paid] => 1
        [payment_intent] => pi_3LbfQSG5Tu****
        [payment_method] => src_1LbfQMG****
        [payment_method_details] => stdClass Object
            (
                [card] => stdClass Object
                    (
                        [brand] => visa
                        [checks] => stdClass Object
                            (
                                [address_line1_check] => pass
                                [address_postal_code_check] => pass
                                [cvc_check] => pass
                            )
    
                        [country] => US
                        [exp_month] => 12
                        [exp_year] => 2034
                        [fingerprint] => AqHfXNh***
                        [funding] => credit
                        [installments] => 
                        [last4] => 4242
                        [mandate] => 
                        [network] => visa
                        [three_d_secure] => 
                        [wallet] => 
                    )
    
                [type] => card
            )
    
        [receipt_email] => 
        [receipt_number] => 
        [receipt_url] => https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xSEhGdGFHNVR1dnNLMHRzKLqjrJgGMgYItAybNII6LBavukWDS5Mk3rgVoNMnsLUbLeBVkigIrgbk5*****
        [refunded] => 
        [refunds] => stdClass Object
            (
                [object] => list
                [data] => Array
                    (
                    )
    
                [has_more] => 
                [total_count] => 0
                [url] => /v1/charges/ch_3LbfQSG5TuvsK0ts1RvdbwQO*****
            )
    
        [review] => 
        [shipping] => 
        [source] => stdClass Object
            (
                [id] => src_1LbfQMG5Tuv******
                [object] => source
                [amount] => 
                [card] => stdClass Object
                    (
                        [address_line1_check] => pass
                        [address_zip_check] => pass
                        [brand] => Visa
                        [country] => US
                        [cvc_check] => pass
                        [dynamic_last4] => 
                        [exp_month] => 12
                        [exp_year] => 2034
                        [fingerprint] => AqHfXNhse*****
                        [funding] => credit
                        [last4] => 4242
                        [name] => 
                        [three_d_secure] => optional
                        [tokenization_method] => 
                    )
    
                [client_secret] => src_client_secret_MkwRb8kztEhG*****
                [created] => 1661*****
                [currency] => 
                [flow] => none
                [livemode] => 
                [metadata] => stdClass Object
                    (
                    )
    
                [owner] => stdClass Object
                    (
                        [address] => stdClass Object
                            (
                                [city] => Vancouver
                                [country] => CA
                                [line1] => street
                                [line2] => 
                                [postal_code] => ******
                                [state] => BC
                            )
    
                        [email] => ******@gmail.com
                        [name] => Reza KhodaRahmi
                        [phone] => 123456789
                        [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-08-28T06:56:58+00:00 DEBUG 
    ====Stripe Version: 6.6.0====
    

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    It looks like the issue is coming from the webhooks. Can you please check the following documentation and see if you have setup it up correctly:

    https://woocommerce.com/document/stripe/#webhooks

    Let me know if it helps!

    Best,

    Thread Starter rezakhodarahmi

    (@rezakhodarahmi)

    Thanks for your answer.
    This log is for Test mode
    But I’m using the “Webhook secret” in “live mode” and the status is “enable”;
    But the problem is still here ??

    Hello,

    To check better into this, can you please share a copy of your site’s System Status? You can find it by navigating to WooCommerce > Status. Select “Get system report” and then “Copy for support”.?

    We’ll look forward to hearing from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Stripe order stay pending payment after successful payment’ is closed to new replies.