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

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

      2. Paypal IPN 自定义变量

        Paypal IPN custom variables(Paypal IPN 自定义变量)

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

              <tbody id='SLAMN'></tbody>

            <tfoot id='SLAMN'></tfoot>

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

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

                1. 本文介绍了Paypal IPN 自定义变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的 Paypal IPN 付款正在工作(立即购买按钮),但现在我必须为每笔交易在我的数据库中添加一些变量,例如折扣名称、用户 ID 等.过去我使用自定义隐藏字段,因为我只需要用户 ID.但是现在我不知道如何传递这个新的自定义变量并让它们在付款成功时从 Paypal POST 返回?

                  My Paypal IPN payement is working (buy now button) but now I have to add some variables, like the discount name, the user ID, etc... in my database for each transaction. In the past I used the custom hidden field as I just need the user ID. But now I don't know how to pass this new custom variables and have them POST back form Paypal if the payement succeed ?

                  感谢您的帮助!

                  推荐答案

                  您有三个主要选择:

                  1. 使用标准的custom 隐藏字段将您需要的所有数据存储在一个字符串中.您可以使用 JSON 格式或某种等效格式.变量大小限制为 256 个字符,这听起来可能就足够了.

                  1. Use the standard custom hidden field to store all the data you need in one string. You could use JSON format or some equivalent. The variable size is limited to 256 characters, which sounds like it might be enough.

                  custom 字段中存储一个唯一 ID,并使用此 ID 查找您存储在数据库中的其他数据.

                  Store a unique id in the custom field, and use this id to look up the other data that you've stored in your database.

                  还有额外的 option 字段,您可以按照建议使用 此处 并由 PayPal 这里:

                  There are also additional option fields you can use as suggested here and explained by PayPal here:

                  您也可以将一些标准 PayPal 字段用于其预期用途以外的目的(即隐藏您的数据),但我认为这是非常可疑且完全没有必要的.

                  You could possibly also use some of the standard PayPal fields for purposes other than that for which they were intended (i.e., to hide your data), but this is highly dubious and entirely unnecessary, I would imagine.

                  请参阅此答案.

                  这篇关于Paypal IPN 自定义变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <tbody id='Nr2Ls'></tbody>

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

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

                          <tfoot id='Nr2Ls'></tfoot>