<< though the PayPal help itself is less than ideal >>
But I wouldn't go so far as to say it's "bad". There is just not as much
ASP.NET-specific guidance as I would have preferred. I'd suggest this
approach: Read through their developer guide (August 2005 version) to learn
their system in general, set up a PayPal Sandbox account, get a plain old
HTML form to POST so you can see how the guts of it all works (it's really
just a straight-forward form post with a bunch of hidden HTML input fields;
the html listed below works with your sandbox account - just swap out your
email address), then study up on the ASP.NET SDK sample app.
<form target="paypal" action="https://www.sandbox.pay pal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="Yo****** *******@Whateve r.com">
<!-- Begin First Item -->
<input type="hidden" name="quantity_ 1" value="1">
<input type="hidden" name="item_name _1" value="The Meaning of Corn">
<input type="hidden" name="item_numb er_1" value="Test SKU A">
<input type="hidden" name="amount_1" value="12.34">
<input type="hidden" name="shipping_ 1" value="2.01">
<input type="hidden" name="shipping2 _1" value="0.01">
<input type="hidden" name="handling_ 1" value="0.01">
<input type="hidden" name="tax_1" value="0.01">
<input type="hidden" name="on0_1" value="Option Name1 A">
<input type="hidden" name="os0_1" value="Option Selection1 A">
<input type="hidden" name="on1_1" value="Option Name2 A">
<input type="hidden" name="os1_1" value="Option Selection2 A">
<!-- End First Item -->
<!-- Begin Second Item -->
<input type="hidden" name="quantity_ 2" value="2">
<input type="hidden" name="item_name _2" value="Cooking With Heat">
<input type="hidden" name="item_numb er_2" value="Test SKU B">
<input type="hidden" name="amount_2" value="1.99">
<input type="hidden" name="shipping_ 2" value="0.02">
<input type="hidden" name="shipping2 _2" value="0.02">
<input type="hidden" name="handling_ 2" value="0.02">
<input type="hidden" name="tax_2" value="0.02">
<input type="hidden" name="on0_2" value="Option Name1 B">
<input type="hidden" name="os0_2" value="Option Selection1 B">
<input type="hidden" name="on1_2" value="Option Name2 B">
<input type="hidden" name="os1_2" value="Option Selection2 B">
<!-- End Second Item -->
<!-- Begin Third Item -->
<input type="hidden" name="quantity_ 3" value="3">
<input type="hidden" name="item_name _3" value="Fill Your Life With
Croutons">
<input type="hidden" name="item_numb er_3" value="Test SKU C">
<input type="hidden" name="amount_3" value="3.03">
<input type="hidden" name="shipping_ 3" value="0.03">
<input type="hidden" name="shipping2 _3" value="0.03">
<input type="hidden" name="handling_ 3" value="0.03">
<input type="hidden" name="tax_3" value="0.03">
<input type="hidden" name="on0_3" value="Option Name1 C">
<input type="hidden" name="os0_3" value="Option Selection1 C">
<input type="hidden" name="on1_3" value="Option Name2 C">
<input type="hidden" name="os1_3" value="Option Selection2 C">
<!-- End Third Item -->
<input type="hidden" name="currency_ code" value="USD">
<!-- Invoice and Custom can be only one per order -->
<input type="text" name="invoice" value="INVOICE 1234567890"><BR ><BR>
<input type="checkbox" name="custom" value="CUSTOM_1 234567890"
checked>Custom Textis Here.<BR><BR>
<input type="hidden" name="handling_ cart" value="0.04">
<input type="image" src="../userImg/cartCheckout.gi f" border="0"
name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
-HTH
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
"Jeremy S." <A@B.com> wrote in message
news:uT******** ******@TK2MSFTN GP14.phx.gbl...
Furthermore - we, as developers, have two ways to use PayPal for payment
processing:
1. customer starts the process on our site - additems to a cart on our
site - then POST cart data to PayPal -- customer at this point is viewing
a PayPal page (customized with your logo) -- customer then is returned to
your site after completing the transaction. This option is free (no setup
or monthly fee; PayPal just keeps 2.x percent of the valueof the
transaction.
That's the option my client has chosen. It sounds from your earlier post
that it's pretty simple to achieve, though the PayPal help itself is less
than ideal...