简体   繁体   中英

Paypal Return url is truncated

Paypal return url truncates the Query String.

My Paypal return url is :

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

and it is truncated after paypal adds up token and payer 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.

使用网址编码

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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