繁体   English   中英

Paypal返回网址被截断

[英]Paypal Return url is truncated

贝宝返回网址将截断查询字符串。

我的Paypal返回网址是:

$returnURL = "http://localhost/eko/index.php?module=UserPlans&action=PaymentSuccess&Response=success";

在Paypal加上令牌和付款人ID后,它会被截断。

截断的网址变为

http://localhost/eko/index.php?module=UserPlans&token=EC-2F968245J76799249&PayerID=PYEYM7DB7XSNN

截断行动和回应。

我的应用程序基于sugarCrm,模块和查询字符串中的操作是必需的。

使用网址编码

$returnURL = urlencode("http://localhost/paypal-test/index.php?module=UserPlans&action=PaymentSuccess&Response=success");

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM