PayPal 没有返回我需要的所有信息?
这是后续内容:设置 PayPal 返回 URL 并使其成为自动返回?
我现在终于得到回复了。这是 print_r($_REQUEST) 的结果:
Array
(
[q] => paypal/return
[tx] => XXPXXX7XXXXXXXXXX
[st] => Completed
[amt] => 1.05
[cc] => USD
[cm] =>
[item_number] => NA
[__utma] => XXX096XXX.XXX229XXX3.13XXX76XXX.13XXX936XX.1XXX397915.6
[__utmz] => 231096538.131XXX6095.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[SESS4088bf574XXX65c931XXX51XXX9e0XXX] => f8fe6XXX18029fXXX39305cXXX4aXXXc
[PHPSESSID] => c0XXX43a9f7XXXa5XXXb2XXXf4419XXX
[__utmc] => 23109XXX8
[__utmb] => 2XX0XXX38.8.10.1318XXX15
)
- 为什么我指定的发票值是这样的:
-->没有归还?
- 为什么未返回“费用”值?即贝宝收取多少佣金?
- 在结帐之前是否可以获取交易 ID?即我可以请求交易ID 被称为什么吗?
更新: 1. 在我添加 后,它现在返回为“cm” 2....... 3.......
This is a follow up to: Setting PayPal return URL and making it auto return?
I now finally get a response. This is the result of print_r($_REQUEST):
Array
(
[q] => paypal/return
[tx] => XXPXXX7XXXXXXXXXX
[st] => Completed
[amt] => 1.05
[cc] => USD
[cm] =>
[item_number] => NA
[__utma] => XXX096XXX.XXX229XXX3.13XXX76XXX.13XXX936XX.1XXX397915.6
[__utmz] => 231096538.131XXX6095.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[SESS4088bf574XXX65c931XXX51XXX9e0XXX] => f8fe6XXX18029fXXX39305cXXX4aXXXc
[PHPSESSID] => c0XXX43a9f7XXXa5XXXb2XXXf4419XXX
[__utmc] => 23109XXX8
[__utmb] => 2XX0XXX38.8.10.1318XXX15
)
- Why is the invoice value that I specified like this:
<INPUT TYPE="hidden" id="invoice" NAME="invoice" value="XXXXXX">
--> not returned? - Why is the "Fee" value not returned? I.e. How much paypal is taking as their cut?
- Is it at all possible to get the transaction id BEFORE I checkout? I.e. Can I request the transaction ID to be called something?
UPDATE:
1. It is now returned as 'cm' after i added <INPUT TYPE="hidden" id="invoice" NAME="custom" value="XXXXXX">
2. .....
3. .....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论