0

If i include some variables in "return" and send to paypal, how paypal will send back to me when i get back?

<input type="hidden" name="return" value='http://www.xxx.xx/order/complete.jsp?ordercode=ABCD&cn=aa,bb'>

will paypal encode my URL to like this?

http://www.xxx.xx/order/complete.jsp?ordercode=ABCD&cn=aa%2Cbb

or this?

http://www.xxx.xx/order/complete.jsp?ordercode=ABCD&cn=aa,bb

Thanks.

Raymond
  • 572
  • 4
  • 13
  • 28
  • you probably have to test : check your apache access log. – theredled May 23 '13 at 10:22
  • @theredled, thanks a lot .. i already checked and got the answer. :) – Raymond May 23 '13 at 15:58
  • See this [question][1] which should answer it for you. [1]: http://stackoverflow.com/q/7642895/645583 – pcunite Jun 05 '13 at 00:40
  • I am sending multiple parameters with return url but when I am back to return url with token and payer id, I loose my sent variables? How do you get the variables then? – Umar Adil Dec 05 '13 at 19:17
  • @Umar, which programming language are you using? I'm using java so i just simply use `request.getParameter(paramName);` – Raymond Dec 09 '13 at 03:47
  • @Raymond I am using PHP and I fixed this issue by sending urlencoded return url to paypal – Umar Adil Dec 09 '13 at 05:35

0 Answers0