Aonz
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to set up Paypal to work with Woocommerce?Ok, found this thread
Put $order->payment_complete(); in thankyou.php.
Then, after paypal redirect back to your site, it will change status to completed.<?php else : ?>
<?php $order->payment_complete(); ?>
<p><?php _e(‘Thank you. Your order has been received.’, ‘woocommerce’); ?></p>Anyway, this is just for quick fix only.
Still wonder why we have to do this?Why don’t woocommerce fix or help explain this issue?
Forum: Plugins
In reply to: [WooCommerce] How to set up Paypal to work with Woocommerce?@ignitewoo.com Team
Do you mean by the menu ‘Instant Payment Notification (IPN)’?
If yes, I’ve tried both set and not set it up.
Anyway, I’m not sure if I set it up correctly.What is the correct notification URL for setting IPN on Paypal?
Is it http://www.mysite.com/?wc-api=WC_Gateway_Paypal
or
http://www.mysite.com/?paypalListener=paypal_standard_IPNHere is my IPN log
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] => [email protected] [num_cart_items] => 1 [mc_handling1] => 0.00 [verify_sign] => An5ns1Kso7MWUdW4ErQKJJJ4qi4-AiduoJHNlj-vWzwI1qeuQD4kqsxj [payer_email] => [email protected] [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] => [email protected] [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: pendingForum: Plugins
In reply to: [WooCommerce] How to set up Paypal to work with Woocommerce?@sjourney – You must have business paypal account (it’s free to upgrade). Then, follow these steps https://www.paypal.com/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside
@wwh – No solution just yet. I’m still facing order with ‘Pending’ status.
Does anyone know how to make the status to be ‘processed’ or ‘completed’ after successful payment?
Forum: Plugins
In reply to: [WooCommerce] Why are the order statuses (payment_status) not “completed?”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] => [email protected] [num_cart_items] => 1 [mc_handling1] => 0.00 [verify_sign] => An5ns1Kso7MWUdW4ErQKJJJ4qi4-AiduoJHNlj-vWzwI1qeuQD4kqsxj [payer_email] => [email protected] [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] => [email protected] [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: pendingForum: Plugins
In reply to: [WooCommerce] Why are the order statuses (payment_status) not “completed?”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?
Forum: Plugins
In reply to: [WooCommerce] Will the order status change after Paypal payment?@hilmon
Exactly, that’s the page I’m referring to.I’ve tried both set and not set the notification URL on “Edit Instant Payment Notification (IPN) settings” page but it’s still ‘pending’.
Moreover, I’ve tried using IPN simulator and set the payment_status=Completed (usually I see that woocommerce always sets it to pending) to paypal. Then, paypal reponses back to me as ‘On-Hold’. This is weird and makes me confused a lot.
What should ‘payment_status’ parameter be set to send to paypal?
Processed or Completed ?Forum: Plugins
In reply to: [WooCommerce] Will the order status change after Paypal payment?Here is from paypal.txt
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] => [email protected] [num_cart_items] => 1 [mc_handling1] => 0.00 [verify_sign] => An5ns1Kso7MWUdW4ErQKJJJ4qi4-AiduoJHNlj-vWzwI1qeuQD4kqsxj [payer_email] => [email protected] [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] => [email protected] [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: pendingForum: Plugins
In reply to: [WooCommerce] Will the order status change after Paypal payment?What is the correct notification URL for setting IPN on Paypal?
Is it http://www.mysite.com/?wc-api=WC_Gateway_Paypal
or
http://www.mysite.com/?paypalListener=paypal_standard_IPN
?Forum: Plugins
In reply to: [WooCommerce] How to set up Paypal to work with Woocommerce?I’ve finally made it to automatically redirect back to my website.
However, the order status is still unchanged and it’s still ‘pending’.
Forum: Plugins
In reply to: [WooCommerce] How to set up Paypal to work with Woocommerce?Above is the screenshot after the payment is made.
It’s not automatically returned to the website.
The user has to click the link itself in order to get back to the site.Forum: Plugins
In reply to: [WooCommerce] How to sell as package/combo?Thanks sleepymonk, I’ll check.
Forum: Plugins
In reply to: [WooCommerce] How to automatically change order status after payment?Thanks splashingpixels.com
Forum: Plugins
In reply to: [WooCommerce] How to automatically change order status after payment?Is it possible that this problem only occurs when I test my website locally on my local machine?
If yes, is it possible to test locally?
Forum: Plugins
In reply to: [WooCommerce] How to automatically change order status after payment?Thanks for your response.
I’ve checked the system status and it said
WP Remote Post: wp_remote_post() was successful - PayPal IPN is working.What is the normal behavior of the status after payment?
Will the status change to something?