Payment through paypal in asp.net

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 Authorize.net in C#

Payment through Authorize.net in C#

1. Test Card Details Card Number: 4111111111111111 Cvv Code: 123 Exp Date:1013 2. Code // From serverside alert Function protected void jsCall(string alert) { string script = @"alert( """ + alert + @""" );"; ScriptManager.RegisterStartupScript(this, this.GetType(), "jsCall", script, true); } private bool AuthorizePayment() {
Payment through merchant gateway in Asp.net

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");