Paypal IPN [仅信用卡交易失败]

时间:2011-05-28 02:07:31

标签: php paypal paypal-ipn

我有这个问题。当我用paypal帐户付款时,一切都很好,付费成功,IPN回击并更新我的数据库。但是,当我使用信用卡选项付款时,它已在paypal端成功支付。但是当我检查我的日志文件时,我得到了以下错误,并且由于该错误我的数据库没有更新。这是日志文件。

    cmd=_notify-validate&mc_gross=20.00&protection_eligibility=Partially+Eligible+-+INR+Only&address_status=unconfirmed&payer_id=2MXXFD6AQ43BA&tax=0.00&address_street=test%0Atest&payment_date=18%3A48%3A29+May+27%2C+2011+PDT&payment_status=Pending&charset=windows-1252&address_zip=640533&first_name=test&address_country_code=SG&address_name=test+test&notify_version=3.1&custom=111%2C&payer_status=unverified&business=test_1303236553_biz%40gmail.com&address_country=Singapore&address_city=Singapore&quantity=1&verify_sign=An5ns1Kso7MWUdW4ErQKJJJ4qi4-AaEK7w348WQzfOfzLl3lrSKWYDOG&payer_email=knightrider%40gmail.com&txn_id=8H5315386S139944F&payment_type=instant&last_name=test&address_state=&receiver_email=test_1303236553_biz%40gmail.com&receiver_id=53B6G7SG6JKME&pending_reason=multi_currency&txn_type=web_accept&item_name=Item&mc_currency=SGD&item_number=&residence_country=SG&test_ipn=1&receipt_id=3969-1532-6232-5707&handling_amount=0.00&transaction_subject=111%2C&payment_gross=&shipping=0.00&ipn_track_id=smYslnsttVEUV7COBCKq5Q
    ERROR - 2011-05-28 09:48:37 --> verify fail: HTTP/1.1 200 OK
    Date: Sat, 28 May 2011 01:48:36 GMT
    Server: Apache
    Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=Ye21176JM0INrH_mgX028q_y72FW1Bz126j4BoxaJRY2L6TRQAfy8NN4REbQ0zbB6qwT_dJNA1mK0kU0T0ygtxZITXeG-RFGQ7KTXslYfcnreEukYMJRfdlkHlya7vHr6rdvwW%7cteseN7TyBXzvckcwMjQeg4r6VElLIpc6dvi-MuvLWzZ05kb5xoQG-hlpVvhaqCWIjx_h00%7cyuYEQ40G78uE-mVRJmAymkg8-jr88yZUZqEtmBrsVuNlXmmsaX2r8Yn-xoUPDMvW5Y3qwW%7c1306547317; domain=.paypal.com; path=/; Secure; HttpOnly
    Set-Cookie: cookie_check=yes; expires=Tue, 25-May-2021 01:48:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
    Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
    Set-Cookie: navlns=0.0; expires=Fri, 23-May-2031 01:48:37 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
    Set-Cookie: Apache=10.191.196.11.209281306547316396; path=/; expires=Thu, 13-Apr-05 19:20:20 GMT
    Connection: close
    Content-Type: text/html; charset=UTF-8
Content-Type: text/html; charset=UTF-8
INVALID

2 个答案:

答案 0 :(得分:0)

这需要一些故障排除。这是我在搜索问题时发现的

https://www.x.com/thread/40485

https://www.x.com/docs/DOC-1551

请将您找到的内容发回给他人以帮助他们。

答案 1 :(得分:0)

来自paypals网站: 付款尚待处理,因为它是通过信用卡进行的,您必须将帐户升级为商家或高级状态才能获得资金。升级也可能意味着您已达到帐户交易的每月限额。

所以,如果你将你的ipn设置为仅从“已完成”的交易中查找 你永远不会受到打击

所以你应该做两件事 1)chage your paypal帐户类型 2)在你的监听器中实现“待定”例程