我们最近转移到Magento 1.9.2.1上的Paypal Pro托管并出现IPN问题。当客户下订单时,即使客户付款,它仍然是待付款。尝试过我能想到的一切,包括:
这是来自/var/log/paypal_ipn.log(添加到试用和调试 - 见于上面的inchoo链接)
2016-03-03T16:52:45+00:00 DEBUG (7): PayPal IPN POST data: Array
(
[mc_gross] => 0.12
[invoice] => 100855658
[protection_eligibility] => Ineligible
[address_status] => unconfirmed
[payer_id] => [HIDDEN ON STACKOVERFLOW]
[tax] => 0.02
[address_street] => [HIDDEN ON STACKOVERFLOW],
[payment_date] => 08:50:44 Mar 03, 2016 PST
[payment_status] => Completed
[charset] => windows-1252
[address_zip] => [HIDDEN ON STACKOVERFLOW]
[first_name] => Oliver
[mc_fee] => 0.12
[address_country_code] => GB
[address_name] => [HIDDEN ON STACKOVERFLOW]
[notify_version] => 3.8
[custom] =>
[payer_status] => unverified
[business] => [HIDDEN ON STACKOVERFLOW]
[address_country] => United Kingdom
[address_city] => London
[quantity] => 1
[verify_sign] => [HIDDEN ON STACKOVERFLOW]
[payer_email] => [HIDDEN ON STACKOVERFLOW]
[txn_id] => [HIDDEN ON STACKOVERFLOW]
[payment_type] => instant
[last_name] => [HIDDEN ON STACKOVERFLOW]
[address_state] => London
[receiver_email] => [HIDDEN ON STACKOVERFLOW]
[payment_fee] =>
[receiver_id] => [HIDDEN ON STACKOVERFLOW]
[txn_type] => web_accept
[item_name] =>
[mc_currency] => GBP
[item_number] =>
[residence_country] => GB
[receipt_id] => [HIDDEN ON STACKOVERFLOW]
[handling_amount] => 0.00
[transaction_subject] =>
[payment_gross] =>
[shipping] => 0.00
[ipn_track_id] => [HIDDEN ON STACKOVERFLOW]
)
这是在Magento配置中启用调试模式: /var/log/payment_hosted_pro.log
2016-03-03T16:52:03+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[BMCreateButton] => Array
(
[METHOD] => BMCreateButton
[BUTTONCODE] => TOKEN
[BUTTONTYPE] => PAYMENT
[L_BUTTONVAR0] => subtotal=0.10
[L_BUTTONVAR1] => tax=0.02
[L_BUTTONVAR2] => shipping=0.00
[L_BUTTONVAR3] => invoice=100855658
[L_BUTTONVAR4] => address_override=true
[L_BUTTONVAR5] => currency_code=GBP
[L_BUTTONVAR6] => buyer_email=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR7] => discount=0.00
[L_BUTTONVAR8] => billing_first_name=Oliver
[L_BUTTONVAR9] => billing_last_name=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR10] => billing_city=London
[L_BUTTONVAR11] => billing_state=London
[L_BUTTONVAR12] => billing_zip=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR13] => billing_country=GB
[L_BUTTONVAR14] => billing_address1=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR15] => billing_address2=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR16] => first_name=Oliver
[L_BUTTONVAR17] => last_name=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR18] => city=London
[L_BUTTONVAR19] => state=London
[L_BUTTONVAR20] => zip=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR21] => country=GB
[L_BUTTONVAR22] => address1=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR23] => address2=[HIDDEN ON STACKOVERFLOW]
[L_BUTTONVAR24] => paymentaction=sale
[L_BUTTONVAR25] => notify_url=https://camerakings.co.uk/paypal/ipn/
[L_BUTTONVAR26] => cancel_return=https://camerakings.co.uk/paypal/hostedpro/cancel/
[L_BUTTONVAR27] => return=https://camerakings.co.uk/paypal/hostedpro/return/
[L_BUTTONVAR28] => lc=GB
[L_BUTTONVAR29] => template=mobile-iframe
[L_BUTTONVAR30] => showBillingAddress=false
[L_BUTTONVAR31] => showShippingAddress=true
[L_BUTTONVAR32] => showBillingEmail=false
[L_BUTTONVAR33] => showBillingPhone=false
[L_BUTTONVAR34] => showCustomerName=false
[L_BUTTONVAR35] => showCardInfo=true
[L_BUTTONVAR36] => showHostedThankyouPage=false
[VERSION] => 94.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => IWD_SI_Other_OnePage
)
[response] => Array
(
[WEBSITECODE] => <form action="https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess" method="post">
<input type="hidden" name="hosted_button_id" value="HSSS-1a4Z7el1S2t72I5U7Cxl8cq2wy1HLac0--mAeIDBJYA6xiKNHSqkIohKb81o3D3ZvMghnw">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_paynow_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
[EMAILLINK] => https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess?hosted_button_id=HSSS-1a4Z7el1S2t72I5U7Cxl8cq2wy1HLac0--mAeIDBJYA6xiKNHSqkIohKb81o3D3ZvMghnw
[HOSTEDBUTTONID] => HSSS-1a4Z7el1S2t72I5U7Cxl8cq2wy1HLac0--mAeIDBJYA6xiKNHSqkIohKb81o3D3ZvMghnw
[TIMESTAMP] => 2016-03-03T16:50:09Z
[CORRELATIONID] => [HIDDEN ON STACKOVERFLOW]
[ACK] => Success
[VERSION] => 94.0
[BUILD] => 18316154
)
[__pid] => 27186
)
我有什么遗失的吗?它说[ACK] =&gt;成功,为什么Magento没有看到这个?