Payment through paypal in asp.net

1. For Test First register it and login before payment. https://developer.paypal.com/ 2. Initialize Item for payment //Query String of Item Detail to send item description to paypal private string GetItemDtetail() { string strPayPalUrlType ="https://www.sandbox.paypal.com/cgi-bin/webscr";// For Test string strPayPalUrlType ="https://www.sandbox.paypal.com/cgi-bin/webscr";// For Live string cmd = "_xclick"; string redirect = ""; redirect += strPayPalUrlType; redirect += "?cmd=" + cmd;

Payment through merchant gateway in Asp.net

protected void Button1_Click(object sender, EventArgs e) { //Demo Url Process=https://demo.myvirtualmerchant.com/VirtualMerchantDemo/process.do? //Live Url Process= https://www.myvirtualmerchant.com/VirtualMerchant/process.do? //One transaction will done at a time Test Card Number:4111111111111111 StringBuilder ob = new StringBuilder(); ob.Append("https://demo.myvirtualmerchant.com/VirtualMerchantDemo/process.do?"); ob.Append("ssl_merchant_id= Merchant Id"); ob.Append("&ssl_amount= Amount"); ob.Append("&ssl_user_id=User Id");