Question : paypal integration in asp.net /VB

i have a page that will be called for each product purchased.
vales as to the price, item are passed to me in the query string.

the page will have a form for name, address, email...

how do i take this raw info and pass it over to paypal to bill the client ?

i have worked with local cyber source payment objects where instantiate the object, set a bunch of its parameters and do a .pay or .send

i never used paypal so be detailed in the solutions please.

Answer : paypal integration in asp.net /VB

This is what I use... but there are many options even for what you are describing... so no guarantees it will work for you. Are you sure it wouldn't be easier to use the Paypal Checkout feature where you hardcode up the links in paypal for each item which then take you straight to paypal to pay?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
StringBuilder PayPalLink = new StringBuilder("https://www.paypal.com/cgi-bin/webscr");
PayPalLink.Append("?cmd=_ext-enter");
PayPalLink.Append("&redirect_cmd=_xclick");
PayPalLink.Append("&custom=" + System.Uri.EscapeDataString(OurReference));
PayPalLink.Append("&business=" + ConfigurationManager.AppSettings["OurPayPalAccount"]);
PayPalLink.Append("&item_name=" + System.Uri.EscapeDataString(ItemName));
PayPalLink.Append("&amount=" + System.Uri.EscapeDataString(ItemAmount.ToString()));
PayPalLink.Append("&no_shipping=1");
PayPalLink.Append("&no_note=1");
PayPalLink.Append("&currency_code=" + Currency);
PayPalLink.Append("&bn=" + System.Uri.EscapeDataString("PP-BuyNowBF"));
PayPalLink.Append("&cancel_return=" + System.Uri.EscapeDataString(CancelReturnUrl));
PayPalLink.Append("&return=" + System.Uri.EscapeDataString(SuccessReturnUrl);
PayPalLink.Append("&rm=" + System.Uri.EscapeDataString("2"));
PayPalLink.Append("&email=" + System.Uri.EscapeDataString(Email));
PayPalLink.Append("&first_name=" + System.Uri.EscapeDataString(Forename));
PayPalLink.Append("&last_name=" + System.Uri.EscapeDataString(Surname));
PayPalLink.Append("&address1=" + System.Uri.EscapeDataString(Address1));
PayPalLink.Append("&address2=" + System.Uri.EscapeDataString(Address2));
PayPalLink.Append("&city=" + System.Uri.EscapeDataString(TownCity));
PayPalLink.Append("&state=" + System.Uri.EscapeDataString(CountyState));
PayPalLink.Append("&zip=" + System.Uri.EscapeDataString(Postcode));
PayPalLink.Append("&country=" + System.Uri.EscapeDataString(CountryCode));
PayPalLink.Append("&charset=" + System.Uri.EscapeDataString("UTF-8"));

Response.Redirect(PayPalLink.ToString());
Random Solutions  
 
programming4us programming4us