I am using PayPal sandbox solution.I sent this request bellow way: <pre lang="cs">string redirecturl = ""; redirecturl += "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + ConfigurationManager.AppSettings["paypalemail"].ToString(); redirecturl += "&first_name=Liton"; redirecturl += "&city=Dhaka"; redirecturl += "&state=Baridhara"; redirecturl += "&item_name=Recharge"; redirecturl += "&amount=" + money; redirecturl += "&shipping=0"; redirecturl += "&handling=0"; redirecturl += "&tax=0"; redirecturl += "&quantity=1"; redirecturl += "&currency=USD"; redirecturl += "&return=" + ConfigurationManager.AppSettings["SuccessURL"].ToString(); redirecturl += "&cancel_return=" + ConfigurationManager.AppSettings["FailedURL"].ToString(); Response.Redirect(redirecturl);</pre>
tranref = Request.QueryString["tx"].ToString(); transtat = Request.QueryString["st"].ToString(); tranamt = Request.QueryString["amt"].ToString(); trancur = Request.QueryString["cc"].ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)