我正在处理一些 Paypal IPN 项目,但我发现了一些让我开始担心的事情。
我的表单中设置了以下字段:
<input type="hidden" name="return" value="http://mysite.com/succes.php" />
<input type="hidden" name="notify_url" value="http://mysite.com/ipn_handler.php" />
无论如何,当用户付款时,他将返回到success.php页面并且不会与ipn_handler.php有任何关系,但是我的success.php url(在地址栏中)从Paypal返回后看起来像这样:
http://mysite.com/success.php?transaction_subject=57&txn_type=web_accept&payment_date=07%3A53%3A24+Oct+03%2C+2012+PDT&last_name=SOMETHING&residence_country=US&pending_reason=multi_currency&item_name=SOMETHING&payment_gross=&mc_currency=EUR&business=seller%40paypalsandbox.com&payment_type=instant&protection_eligibility=Ineligible&payer_status=verified&verify_sign=Adm5TcLO5.Dgm0ttCdwtx43iz69qAOB8yELzqmpoKwztT.v5nX7naEIQ&txn_id=77L26596YM827223E&payer_email=dugagj_1346872586_per%40gmail.com&tax=0.00&test_ipn=1&first_name=SOMETHING&receiver_email=seller%40paypalsandbox.com&quantity=0&payer_id=4D9U3R4S4D7CC&receiver_id=Y2CCK4NAA75Q2&item_number=&payment_status=Pending&mc_gross=25.00&custom=57&charset=windows-1252¬ify_version=3.7&merchant_return_link=Return+to+Sandbox&auth=AqXhaNS8jZidb-pkJqUa3t2qAy-SPrpCt12155Ku703imQ3302J0cHyBD36AdiSVrY6hMc3JN6gwQo9gmRlxQjA
我不喜欢我的地址栏显示所有这些信息。这很危险吗?设置 HTML 时我做错了吗?
请帮忙。
PS:上面的网址是通过 Paypal Sandbox 创建的,因此您不必担心,因为它不包含任何来自真实付款的内容。