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() {