我正在使用WooCommerce并使用PayPal进行付款。我已经在woocommerce中设置了所有内容,而且我处于paypal沙盒模式。
当我付款时,IPN似乎没有连接,因为所有订单的状态都是“待定”。
我在设置woocommerce之前从未遇到过这个问题,所以我检查了woocommerce中的paypal日志,我看到它是由服务器超时引起的。
日志
11-06-2013 @ 11:51:03 - Checking IPN response is valid...
11-06-2013 @ 11:51:03 - IPN Request: Array
(
[body] => Array
(
[cmd] => _notify-validate
[mc_gross] => 37.19
[invoice] => WC-313
[protection_eligibility] => Ineligible
[item_number1] => IPAD2CS
[payer_id] => 7NB6TCDYAFG3W
[tax] => 6.20
[payment_date] => 03:49:40 Nov 06, 2013 PST
[payment_status] => Pending
[charset] => windows-1252
[mc_shipping] => 0.00
[mc_handling] => 0.00
[first_name] => Colin
[notify_version] => 3.7
[custom] => a:2:{i:0;i:313;i:1;s:19:"order_527a26e56fb3f";}
[payer_status] => verified
[business] => jane@example.co.uk
[num_cart_items] => 1
[mc_handling1] => 0.00
[verify_sign] => AOh0tu.5JUQyG2Aao4MpntBA2sFjAN6AGJpJKVjJsWjl6gE0L-IxvOXP
[payer_email] => colin@example.co.uk
[mc_shipping1] => 0.00
[tax1] => 0.00
[txn_id] => 50B94166L65378617
[payment_type] => instant
[payer_business_name] => Jadeneed Ltd
[last_name] => March
[item_name1] => Ipod
[receiver_email] => jane@example.co.uk
[quantity1] => 1
[pending_reason] => unilateral
[txn_type] => cart
[mc_gross_1] => 30.99
[mc_currency] => GBP
[residence_country] => GB
[transaction_subject] => a:2:{i:0;i:313;i:1;s:19:"order_527a26e56fb3f";}
[payment_gross] =>
[ipn_track_id] => 77f0ae30a8a3
)
[sslverify] =>
[timeout] => 60
[httpversion] => 1.1
[headers] => Array
(
[host] => www.paypal.com
)
[user-agent] => WooCommerce/2.0.18
)
11-06-2013 @ 11:52:03 - IPN Response: WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => connect() timed out!
)
)
[error_data] => Array
(
)
)
11-06-2013 @ 11:52:03 - Received invalid response from PayPal
11-06-2013 @ 11:52:03 - Error response: connect() timed out!
现在是否有人造成这种情况以及如何解决?
任何帮助都非常感谢!