

|
§
|
Add a Submit Button to your Form.
|
|
§
|
Set the action of your form to POST and the target as https://www.paypal.com/cgi-bin/webscr and
|
|
§
|
Then add the following Hidden Fields:
|
|
§
|
Name = cmd, value=_xclick
|
|
§
|
Name = business, value = sales@yoursite.com (This is the email address in PayPal to accept the payments).
|
|
§
|
Name = item_name, value = My Product Name (The name of the item you are selling).
|
|
§
|
Name = item_number, value = 123456A (A SKU or product code for your item).
|
|
§
|
Name = no_shipping, value = 1 (1 = Customer is not asked for shipping address, 0 = Customer is asked for shipping
|
|
§
|
Name = return, value=http://www.yoursite.com/thanks.html (This is where the customer will return after a successful
|
|
§
|
Name = cancel_return, value = http://www.yoursite.com/cancelled.html (This is where the customer will return after a
|
|
§
|
Name = no_note, value = 1 (1 = Customer not prompted to leave a note, 0 = Customer is prompted to leave a note.)
|
|
§
|
Name = currency_code, value = GBP. (The currency that your product is priced in.)
|
|
§
|
Name = lc value = GB (Defines the buyers language for the login page - Acceptable values are: AU,DE,FR,IT,GB,ES, US Default)
|
|
§
|
Name = amount, value = 3.99 (The price of your item).
|
|
§
|
Name = bn, value = PP-BuyNowBF
|