简体   繁体   English

Paypal返回网址被截断

[英]Paypal Return url is truncated

Paypal return url truncates the Query String. 贝宝返回网址将截断查询字符串。

My Paypal return url is : 我的Paypal返回网址是:

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

and it is truncated after paypal adds up token and payer id. 在Paypal加上令牌和付款人ID后,它会被截断。

truncated url becomes 截断的网址变为

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

Truncating the action and response. 截断行动和回应。

My application is based on sugarCrm, module and action in query string is required. 我的应用程序基于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