gstalin
asked on
Pay pal return URL problem
Hai,
I integerate shopping cart to paypal i give return url after payment both sucess and Cancel url with some GET variables but the variables are not reply in paypal how to i fix this?
I set Return URL with querystring like
<input type=\"hidden\" name=\"return\" value=\"$site_url/bala/tha nks.php?to tal=$totp& cart_id=$c art_id&uid =$uid\" />
But i got return URL from paypal $site_url/bala/thanks.php? only Query string's are missing How to retrive this ?
My code here
echo "<form id=\"form1\" name=\"upfrm\" method=\"post\" action=\"https://www.paypal.com/cgi-bin/webscr\">
<div align=\"center\">
<input type=\"hidden\" name=\"cmd\" value=\"_xclick\" />
<input type=\"hidden\" name=\"business\" value=\"$pemail\" />
<input type='hidden' name='item_name' value=\"Images in DNB PHOTOGRAPHY\" />
<input type=\"hidden\" name=\"cart_id\" value=\"$cart_id\" />
<input type=\"hidden\" name=\"amount\" value=\"$totp\" />
<input type=\"hidden\" name=\"first_name\" value=\"$name\" />
<input type=\"hidden\" name=\"currency_code\" value=\"USD\" />
<input type=\"hidden\" name=\"uid\" value=\"$uid \" />
<input type='hidden' name='cn' value='DNB PHOTOGRAPHY payment gateway!' />
<input type=\"hidden\" name=\"return\" value=\"$site_url/bala/tha nks.php?to tal=$totp& cart_id=$c art_id&uid =$uid\" />
<input type=\"hidden\" name=\"cancel_return\" value=\"$site_url/bala/tha nks.php?to tal=$totp& cart_id=$c art_id&uid =$uid&fail =fail\" />
<input name=\"Submit\" type=\"submit\" class=\"colorbuttonsh\" value=\"Online Pay\" />
</a>
</div>
</form>";
Thanks
Bala
I integerate shopping cart to paypal i give return url after payment both sucess and Cancel url with some GET variables but the variables are not reply in paypal how to i fix this?
I set Return URL with querystring like
<input type=\"hidden\" name=\"return\" value=\"$site_url/bala/tha
But i got return URL from paypal $site_url/bala/thanks.php?
My code here
echo "<form id=\"form1\" name=\"upfrm\" method=\"post\" action=\"https://www.paypal.com/cgi-bin/webscr\">
<div align=\"center\">
<input type=\"hidden\" name=\"cmd\" value=\"_xclick\" />
<input type=\"hidden\" name=\"business\" value=\"$pemail\" />
<input type='hidden' name='item_name' value=\"Images in DNB PHOTOGRAPHY\" />
<input type=\"hidden\" name=\"cart_id\" value=\"$cart_id\" />
<input type=\"hidden\" name=\"amount\" value=\"$totp\" />
<input type=\"hidden\" name=\"first_name\" value=\"$name\" />
<input type=\"hidden\" name=\"currency_code\" value=\"USD\" />
<input type=\"hidden\" name=\"uid\" value=\"$uid \" />
<input type='hidden' name='cn' value='DNB PHOTOGRAPHY payment gateway!' />
<input type=\"hidden\" name=\"return\" value=\"$site_url/bala/tha
<input type=\"hidden\" name=\"cancel_return\" value=\"$site_url/bala/tha
<input name=\"Submit\" type=\"submit\" class=\"colorbuttonsh\" value=\"Online Pay\" />
</a>
</div>
</form>";
Thanks
Bala
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.