WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Why are the order statuses (payment_status) not “completed?” (5 posts)

  1. bugaonz
    Member
    Posted 1 year ago #

    Why every time I make an order, it always and automatically send IPN request with [payment_status] => Pending
    ?

    Does it make more sense to make it send 'Completed' status to paypal?

    http://wordpress.org/extend/plugins/woocommerce/

  2. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    No.

    Completed is for when the order is completed (IE sent). Not when the payment is completed.

    More info here.

  3. bugaonz
    Member
    Posted 1 year ago #

    The problem is after I make a paypal payment and redirect back to my shop, the order status is still pending and the 'pay' button is still shown.

    How can I configure to make the status to be 'processing' or 'completed' (not pending) after a user has made a payment?

  4. bugaonz
    Member
    Posted 1 year ago #

    Here is IPN log from paypal.txt.
    I'm wondering why Paypal responses 'Pending' back to me?

    04-21-2013 @ 11:34:32 - Generating payment form for order #1599. Notify URL: http://www.mysite.com/?wc-api=WC_Gateway_Paypal
    04-21-2013 @ 11:34:57 - Checking IPN response is valid...
    04-21-2013 @ 11:34:57 - IPN Request: Array
    (
        [body] => Array
            (
                [cmd] => _notify-validate
                [mc_gross] => 65.00
                [invoice] => SEO-1599
                [protection_eligibility] => Ineligible
                [item_number1] =>
                [payer_id] => DHNKCRBSKLP34
                [tax] => 0.00
                [payment_date] => 04:34:54 Apr 21, 2013 PDT
                [payment_status] => Pending
                [charset] => windows-1252
                [mc_shipping] => 0.00
                [mc_handling] => 0.00
                [first_name] => aonz
                [notify_version] => 3.7
                [custom] => a:2:{i:0;i:1599;i:1;s:19:"order_5173cd20e22c9";}
                [payer_status] => unverified
                [business] => mysite@gmail.com
                [num_cart_items] => 1
                [mc_handling1] => 0.00
                [verify_sign] => An5ns1Kso7MWUdW4ErQKJJJ4qi4-AiduoJHNlj-vWzwI1qeuQD4kqsxj
                [payer_email] => buyer1@gmail.com
                [mc_shipping1] => 0.00
                [tax1] => 0.00
                [txn_id] => 90Y65431J2849625F
                [payment_type] => instant
                [last_name] => buyer
                [item_name1] => Real Visitor Traffic for One Month Campaign
                [receiver_email] => mysite@gmail.com
                [quantity1] => 1
                [pending_reason] => unilateral
                [txn_type] => cart
                [mc_gross_1] => 65.00
                [mc_currency] => USD
                [residence_country] => US
                [test_ipn] => 1
                [transaction_subject] => a:2:{i:0;i:1599;i:1;s:19:"order_5173cd20e22c9";}
                [payment_gross] => 65.00
                [ipn_track_id] => 30ecf0a5cab3a
            )
    
        [sslverify] =>
        [timeout] => 60
        [user-agent] => WooCommerce/2.0.5
    )
    
    04-21-2013 @ 11:34:58 - IPN Response: Array
    (
        [headers] => Array
            (
                [date] => Sun, 21 Apr 2013 11:34:58 GMT
                [server] => Apache
                [x-frame-options] => SAMEORIGIN
                [set-cookie] => Array
                    (
                        [0] => c9MWDuvPtT9GIMyPc3jwol1VSlO=6IG3FgE2O1X82BuatDz5EdNRbN22W21E0lGkX_OGwsxbQVU35t1ccGdsFAc0o7ZJJYoXNHaoEpJJkpnuWhWa3EAgGaOjnI-Mra-t2aa5ZFcitMyogdkHW99KZv-Cr_y_tt8M_m%7c6I9xY_3PcYzOD9Ax8bjUl0b73rRo0BaAl5a2F7rAYdlHahwWc71UoRXs5JO8pbGldcplQm%7ciA4KGy8_6i_Fe9nnEjsDD2z47DiEUf1BrUjwfQlRla0z_9CyutGSnOtbQBRLpf7QzYoQGm%7c1366544098; domain=.paypal.com; path=/; Secure; HttpOnly
                        [1] => cookie_check=yes; expires=Wed, 19-Apr-2023 11:34:58 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
                        [2] => navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
                        [3] => navlns=0.0; expires=Sat, 16-Apr-2033 11:34:58 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
                        [4] => Apache=10.72.109.11.1366544098040452; path=/; expires=Tue, 14-Apr-43 11:34:58 GMT
                    )
    
                [connection] => close
                [content-type] => text/html; charset=UTF-8
            )
    
        [body] => VERIFIED
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => c9MWDuvPtT9GIMyPc3jwol1VSlO
                        [value] => 6IG3FgE2O1X82BuatDz5EdNRbN22W21E0lGkX_OGwsxbQVU35t1ccGdsFAc0o7ZJJYoXNHaoEpJJkpnuWhWa3EAgGaOjnI-Mra-t2aa5ZFcitMyogdkHW99KZv-Cr_y_tt8M_m|6I9xY_3PcYzOD9Ax8bjUl0b73rRo0BaAl5a2F7rAYdlHahwWc71UoRXs5JO8pbGldcplQm|iA4KGy8_6i_Fe9nnEjsDD2z47DiEUf1BrUjwfQlRla0z_9CyutGSnOtbQBRLpf7QzYoQGm|1366544098
                        [expires] =>
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [1] => WP_Http_Cookie Object
                    (
                        [name] => cookie_check
                        [value] => yes
                        [expires] => 1681904098
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [2] => WP_Http_Cookie Object
                    (
                        [name] => navcmd
                        [value] => _notify-validate
                        [expires] =>
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [3] => WP_Http_Cookie Object
                    (
                        [name] => navlns
                        [value] => 0.0
                        [expires] => 1997264098
                        [path] => /
                        [domain] => .paypal.com
                        [secure] =>
                        [httponly] =>
                    )
    
                [4] => WP_Http_Cookie Object
                    (
                        [name] => Apache
                        [value] => 10.72.109.11.1366544098040452
                        [expires] => 2312624098
                        [path] => /
                        [domain] =>
                    )
    
            )
    
        [filename] =>
    )
    
    04-21-2013 @ 11:34:58 - Received valid response from PayPal
    04-21-2013 @ 11:34:58 - Found order #1599
    04-21-2013 @ 11:34:58 - Payment status: pending
  5. Sjourney
    Member
    Posted 1 year ago #

    I had a similar issue.
    What does your order (#1599) showing within the woocommerce orders GUI display as the problem ?
    My issue I was using a different default paypal "receiving email" address then I stated, the email address I receive my paypal funds to.
    For example, instead of my default which was a blah@gmail.com address; I was using services@mysite.com so woocommerce saw this and perhaps because of the incongruity it (within the settings) it puts the order on pending.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags