• <i id='bgNgW'><tr id='bgNgW'><dt id='bgNgW'><q id='bgNgW'><span id='bgNgW'><b id='bgNgW'><form id='bgNgW'><ins id='bgNgW'></ins><ul id='bgNgW'></ul><sub id='bgNgW'></sub></form><legend id='bgNgW'></legend><bdo id='bgNgW'><pre id='bgNgW'><center id='bgNgW'></center></pre></bdo></b><th id='bgNgW'></th></span></q></dt></tr></i><div id='bgNgW'><tfoot id='bgNgW'></tfoot><dl id='bgNgW'><fieldset id='bgNgW'></fieldset></dl></div>
    <tfoot id='bgNgW'></tfoot>

        <bdo id='bgNgW'></bdo><ul id='bgNgW'></ul>
      <legend id='bgNgW'><style id='bgNgW'><dir id='bgNgW'><q id='bgNgW'></q></dir></style></legend>

      1. <small id='bgNgW'></small><noframes id='bgNgW'>

        支付成功后PayPal POST数据

        时间:2023-06-24
      2. <legend id='AKgP5'><style id='AKgP5'><dir id='AKgP5'><q id='AKgP5'></q></dir></style></legend>
        <tfoot id='AKgP5'></tfoot>

          • <bdo id='AKgP5'></bdo><ul id='AKgP5'></ul>

            <small id='AKgP5'></small><noframes id='AKgP5'>

                • <i id='AKgP5'><tr id='AKgP5'><dt id='AKgP5'><q id='AKgP5'><span id='AKgP5'><b id='AKgP5'><form id='AKgP5'><ins id='AKgP5'></ins><ul id='AKgP5'></ul><sub id='AKgP5'></sub></form><legend id='AKgP5'></legend><bdo id='AKgP5'><pre id='AKgP5'><center id='AKgP5'></center></pre></bdo></b><th id='AKgP5'></th></span></q></dt></tr></i><div id='AKgP5'><tfoot id='AKgP5'></tfoot><dl id='AKgP5'><fieldset id='AKgP5'></fieldset></dl></div>
                    <tbody id='AKgP5'></tbody>

                  本文介绍了支付成功后PayPal POST数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试制作一个 PHP 应用程序,它将与 MySQL 交互.我已经有一个获取 POST 数据的页面,在它获取后,它会向用户提供信用".成功下单后的 PayPal 按钮可以向我发送帖子数据吗?或者还有其他方法吗?(很可能更简单、更安全)

                  I am trying to make an PHP app, that will interact with MySQL. I already have an page that gets POST data, and after it gets it, it gives "credit" to user. Can PayPal button after successful order send me an post data? or is there any other way? (most likely simplier and more secure)

                  推荐答案

                  是的,看看 PayPal Instant Payment Notification (IPN) - https://www.paypal.com/ipn/
                  这将强制在启动交易时向您发送交易数据的 POST.如果您目前使用网站付款标准(基于 HTML 的按钮),您只需添加

                  Yes, have a look at PayPal Instant Payment Notification (IPN) - https://www.paypal.com/ipn/
                  This will force a POST of transactional data to be sent to you whenever a transaction has been initiated. If you currently use Website Payments Standard (HTML based buttons), you can simply add

                  <input type="hidden" name="notify_url" value="http://full-URL-to-the-script-you-set-up-for-IPN">
                  

                  您需要获取从 PayPal 收到的所有 POST 数据,附加 cmd=_notify-validate 并将其发送回 https://www.paypal.com/cgi-bin/webscr(或 https://www.sandbox.paypal.com/cgi-bin/webscr(用于 Sandbox)以验证 IPN 消息.
                  根据此结果,您将收到 INVALID 或 VERIFIED 响应.
                  INVALID 可能意味着 IPN POST 并非来自 PayPal,而 VERIFIED 意味着 IPN POST 经验证确实来自 PayPal.

                  You'll need to take all POST data you received from PayPal, append cmd=_notify-validate and send it back to https://www.paypal.com/cgi-bin/webscr (or https://www.sandbox.paypal.com/cgi-bin/webscr for Sandbox) in order to validate the IPN message.
                  Depending on this result, you'll get back an INVALID or VERIFIED response.
                  INVALID may mean the IPN POST didn't originate from PayPal, whereas VERIFIED means the IPN POST was verified as indeed coming from PayPal.

                  这篇关于支付成功后PayPal POST数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Paypal 将钱从一个帐户转移到另一个帐户 下一篇:集成 PayPal 快速结账的更简单方法?

                  相关文章

                  <tfoot id='lHxRY'></tfoot>

                  <i id='lHxRY'><tr id='lHxRY'><dt id='lHxRY'><q id='lHxRY'><span id='lHxRY'><b id='lHxRY'><form id='lHxRY'><ins id='lHxRY'></ins><ul id='lHxRY'></ul><sub id='lHxRY'></sub></form><legend id='lHxRY'></legend><bdo id='lHxRY'><pre id='lHxRY'><center id='lHxRY'></center></pre></bdo></b><th id='lHxRY'></th></span></q></dt></tr></i><div id='lHxRY'><tfoot id='lHxRY'></tfoot><dl id='lHxRY'><fieldset id='lHxRY'></fieldset></dl></div>

                      <bdo id='lHxRY'></bdo><ul id='lHxRY'></ul>
                  1. <legend id='lHxRY'><style id='lHxRY'><dir id='lHxRY'><q id='lHxRY'></q></dir></style></legend>
                    1. <small id='lHxRY'></small><noframes id='lHxRY'>