我正在尝试将this very simple PayPal payment integration实施到我网站的购物车中。我遇到的问题是,当页面应该ping PP并检查数据时,它会将访问者发送到PP开发人员主页。这是构建查询字符串的部分:
[["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"],
["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"],
["1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1"],
["1","1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","1","1"],
["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","0","0","1","1"],
["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"],
["0","0","0","0","0","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0"],
["0","0","0","0","0","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0"],
["0","0","0","0","0","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0"],
["0","0","0","0","0","0","0","0","1","1","1","1","0","0","0","0","0","0","0","0"],
["0","0","0","0","0","0","0","1","1","1","1","1","1","0","0","0","0","0","0","0"],
["1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1","1"]]
我解码了我的查询字符串以确保数据是正确的,看起来好像它在lc = US之后可能会损坏。
?business = site@email.com& item_name = 9814992281458743510& amount = 785& lc =US¤cy_code= USD& return = https://site.com/?action=invoice&successful&cancel_return=https:/ /site.com/?action=invoice&cancelled¬ify_url=https://site.com/?action=payola
(这些空间是为了让网站满意< = 1链接)
这可能是PayPal将我发送到沙盒首页而不处理购买的原因,还是我应该在代码的其他地方寻找?如果这是问题,我做错了什么?
请原谅我发帖子中的任何违法行为。我在搜索时已经学会了数以百计的东西,但我真的很想使用这个网站。请让我知道我做错了什么。
谢谢你的时间!