Click PayPal if you create Buy Now button for real money .
Click Sandbox if you create Buy Now button for test transactions.
Enter the URL where digital goods are located.
Enter the number of hours you wish to remain valid download URL for digital goods.
Allowed value: positive integer
Enter the name of your item here.
This variable tells PayPal the name of the item being sold.
Character length and limitations: 127 single-byte characters
Pass-through variable for you to track product or service purchased or the contribution made.
The value you specify is passed back to you upon payment completion.
This variable is required if you want PayPal to track profit and loss for the item the button sells.
Character length and limitations: 127 single-byte characters
Enter your PayPal e-mail address here.
An email address associated with your PayPal account.
Email address must be confirmed.
Character length and limitations: 127 single-byte characters
Put your return URL here (for a successful payment).
The URL to which the buyer's browser is redirected after
completing the payment;
for example, a URL on your site
that displays a "Thank you for your payment" page.
Default: The browser is redirected to a PayPal web page.
Max length: 1024 characters
Put your Instant Payment Notification (IPN) URL here.
The URL to which PayPal posts information about the transaction via Instant Payment Notification (IPN).
Must be URL-encoded.
Character length: 255 characters
This field is optional.
If you already use an IPN script you can still use it.
All variables relating to transactions received from PayPal
will also be sent for further processing to your old script as a POST request.
Put your return URL here (for a canceled payment).
A URL to which the customer's browser is returned if payment is canceled;
for example, a URL on your website that displays a "Payment Canceled" page.
Default: Browser is directed to the PayPal website.
Insert thank-you page (usually an HTML or PHP document).
If this page is a PHP document you can use specific script variables:
{$item_name}, {$download_link}, {$download_life}, {$business}, {$timestamp}, {$date}
and all variables specific to the transaction received from PayPal:
$_POST["address_country"], $_POST["item_number"], $_POST["item_name"], $_POST["mc_gross"],
$_POST["mc_currency"], $_POST["first_name"], $_POST["last_name"], $_POST["payer_email"],
$_POST["address_city"], $_POST["address_country_code"], $_POST["address_name"], $_POST["address_state"],
$_POST["address_status"], $_POST["address_street"], $_POST["address_zip"], $_POST["business"],
$_POST["charset"], $_POST["handling_amount"], $_POST["ipn_track_id"], $_POST["mc_fee"],
$_POST["notify_version"], $_POST["payer_id"], $_POST["payer_status"], $_POST["payment_date"],
$_POST["payment_fee"], $_POST["payment_gross"], $_POST["payment_status"], $_POST["payment_type"],
$_POST["protection_eligibility"], $_POST["quantity"], $_POST["receiver_email"], $_POST["receiver_id"],
$_POST["residence_country"], $_POST["shipping"], $_POST["tax"], $_POST["test_ipn"],
$_POST["transaction_subject"], $_POST["txn_id"], $_POST["txn_type"], $_POST["verify_sign"]
Check this box if you want the client to receive a personalized email message
with information about the transaction with your digital goods.
Check this box if you want to receive a personalized email message
with information about the transaction that took place with your digital goods.
It is recommended that you check SMTP radio button if you want to maximize the chances
that the email will not be rejected by spam filters of the mail server.
Authentication and encryption capabilities of the SMTP mail server increases the chances
that the email will get a good score and will not be rejected by spam filters of the mail server.
It is necessary that either PHP function fsockopen() or
pfsockopen() to be enabled on your web server.
Check this box if the script warns you that none of the PHP function fsockopen() or pfsockopen() is enabled
and you want the email message to be sent with PHP mail() function.
Enter the email address of the sender.
This may differ from the email address associated with your PayPal account.
Enter the port number that your SMTP server accepts connections.
Perhaps the port number is 25 .
Enter the email address or username that you use to connect to the SMTP server.
Enter the password that you use to connect to the SMTP server.
Enter the subject of the message transmitted by email to the buyer.
In this text field you can use particular script variables:
{$item_name}, {$download_link}, {$download_life}, {$business}, {$timestamp}, {$date}
and all variables specific to the transaction received from PayPal:
$_POST["address_country"], $_POST["item_number"], $_POST["item_name"], $_POST["mc_gross"],
$_POST["mc_currency"], $_POST["first_name"], $_POST["last_name"], $_POST["payer_email"],
$_POST["address_city"], $_POST["address_country_code"], $_POST["address_name"], $_POST["address_state"],
$_POST["address_status"], $_POST["address_street"], $_POST["address_zip"], $_POST["business"],
$_POST["charset"], $_POST["handling_amount"], $_POST["ipn_track_id"], $_POST["mc_fee"],
$_POST["notify_version"], $_POST["payer_id"], $_POST["payer_status"], $_POST["payment_date"],
$_POST["payment_fee"], $_POST["payment_gross"], $_POST["payment_status"], $_POST["payment_type"],
$_POST["protection_eligibility"], $_POST["quantity"], $_POST["receiver_email"], $_POST["receiver_id"],
$_POST["residence_country"], $_POST["shipping"], $_POST["tax"], $_POST["test_ipn"],
$_POST["transaction_subject"], $_POST["txn_id"], $_POST["txn_type"], $_POST["verify_sign"]
Enter the subject of the message transmitted by email to the seller.
In this text field you can use particular script variables:
{$item_name}, {$download_link}, {$download_life}, {$business}, {$timestamp}, {$date}
and all variables specific to the transaction received from PayPal:
$_POST["address_country"], $_POST["item_number"], $_POST["item_name"], $_POST["mc_gross"],
$_POST["mc_currency"], $_POST["first_name"], $_POST["last_name"], $_POST["payer_email"],
$_POST["address_city"], $_POST["address_country_code"], $_POST["address_name"], $_POST["address_state"],
$_POST["address_status"], $_POST["address_street"], $_POST["address_zip"], $_POST["business"],
$_POST["charset"], $_POST["handling_amount"], $_POST["ipn_track_id"], $_POST["mc_fee"],
$_POST["notify_version"], $_POST["payer_id"], $_POST["payer_status"], $_POST["payment_date"],
$_POST["payment_fee"], $_POST["payment_gross"], $_POST["payment_status"], $_POST["payment_type"],
$_POST["protection_eligibility"], $_POST["quantity"], $_POST["receiver_email"], $_POST["receiver_id"],
$_POST["residence_country"], $_POST["shipping"], $_POST["tax"], $_POST["test_ipn"],
$_POST["transaction_subject"], $_POST["txn_id"], $_POST["txn_type"], $_POST["verify_sign"]
Click, select (CTRL+A), copy to clipboard (CTRL+C) and paste (CTRL+V) the PayPal Buy Now button code into your web page.
Click Buy Now button if you want to test it right now.
Save the Paypal Buy Now button as a file with .php extension in the current directory if you want to load it later from the list below.
Allowed characters in the filename are: [a - z],
[A - Z],
[0 - 9],
_
, - .
Load a previously saved button in the current directory.
You can return to the initial settings by loading the default-button.php