我正在使用 PayPal Advanced,并使用用户定义的字段 USER1 - USER10 发送一些交易数据,这将帮助我在通过 Silent Post 请求返回时识别它。有谁知道这些 USERx 字段的值允许的最大长度是多少?这些文件没有指定我能找到的文件。
以下是讨论这些字段的开发指南的相关部分(来自 here):
Passing Other Data to Your Server Using Post or Silent Post
The USER1 through USER10 Payflow parameters are ten optional string type parameters intended to store your temporary data, such as variables, session IDs, order numbers, and so on. These parameters enable you to pass internal information to your server using the Post or Silent Post feature.
最佳答案
是的,这些字段有255 个字符 的限制。您可以在以下文档的第 54 页上查看:
https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_payflowlink_guide.pdf
关于PayPal Advanced 用户定义字段的最大长度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25406682/