Follow me on Twitter
RSS


Time spent: 00:00:08
Page viewed: 4
Location: Loopback
Browser: Mozilla Operating system: Linux - i686 (x86_64)
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 the currency of your item here (default: USD).
This variable tells PayPal the 3-letter ISO-4217 currency code of the payment.

PayPal uses 3-character ISO-4217 codes for specifying currencies in fields and variables.

Hold down Left mouse button and pressdown arrow key orup arrow key to see all currencies.

Currencies and Currency Codes Supported by PayPal

Currency

Currency Code

Australian Dollar

AUD

Brazilian Real

Note:

This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.

BRL

Canadian Dollar

CAD

Czech Koruna

CZK

Danish Krone

DKK

Euro

EUR

Hong Kong Dollar

HKD

Hungarian Forint

HUF

Israeli New Sheqel

ILS

Japanese Yen

JPY

Malaysian Ringgit

Note:

This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.

MYR

Mexican Peso

MXN

Norwegian Krone

NOK

New Zealand Dollar

NZD

Philippine Peso

PHP

Polish Zloty

PLN

Pound Sterling

GBP

Singapore Dollar

SGD

Swedish Krona

SEK

Swiss Franc

CHF

Taiwan New Dollar

TWD

Thai Baht

THB

Turkish Lira

Note:

This currency is supported as a payment currency and a currency balance for in-country PayPal accounts only.

TRY

U.S. Dollar

USD

This variable tells PayPal the amount of the item. This does not including shipping, handling, or tax.

Limitations: Value must be a positive number. No currency symbol.
Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,).

You need a minimum transfer amount of $0.02 USD for live testing.

Press ALT + 1 access keys to follow the link.
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

This is identity token, a string value that identifies your account to PayPal.

Activating PDT

To use PDT, you must activate PDT and Auto Return in your PayPal account profile.
You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal.

Follow these steps to configure your account for PDT:

  1. Log in to your PayPal account.

    • Click Your PayPal account settings button if you use the new interface. Then click on Profile and Settings link.
    • Otherwise, click the Profile subtab if you use the Classic View old interface.

  2. Click My selling tools in the My Profile column.
  3. Click Update link next to Return customers to my website after they pay with PayPal.
  4. Under Auto Return for Website Payments, click the On radio button.
  5. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment.
  6. Under Payment Data Transfer, click the On radio button.
  7. Click Save.
  8. Click Update link next to Return customers to my website after they pay with PayPal.
  9. Scroll down to the Payment Data Transfer section of the page to view your PDT identity token.
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.
All variables relating to transactions received from PayPal will be stored in a table in this CSV (comma-separated values) file.
You can use Excel or an online viewer https://sheet.zoho.com/excelviewer to open the file.

Press ALT + 2 access keys to follow the link.
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.
Select ssl://smtp.googlemail.com if the program does not warn you that SSL is disabled on your web server
and you have a gmail account from Google http://gmail.com
Press ALT + 3 access keys to follow the link.

Select mail.gmx.com if the program warns you that SSL is disabled on your web server.  
mail.gmx.com SMTP server is reliable.  
Sign up for a free email account at http://gmx.com
Press ALT + 4 access keys to follow the link.

Select Other if you want to use another SMTP server.
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 email body sent to the buyer (usually a text document, HTML or PHP).

In this page 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"]

Overriding Word Wrapping

Because word wrapping is enabled (recommended to comply with RFC 822)
if you have a very long link in your email it can get wrapped too,
causing it to become unclickable by the person receiving it.
You can manually override word wrapping within part of your message like this:

The text of your email that
gets wrapped normally.

{unwrap}http://example.com/a_long_link_that_should_not_be_wrapped.html{/unwrap}

More text that will be
wrapped normally.

Place the item you do not want word-wrapped between: {unwrap} {/unwrap}

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"]
Enter the email body sent to the seller (usually a text document, HTML or PHP).

In this page 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"]

Overriding Word Wrapping

Because word wrapping is enabled (recommended to comply with RFC 822)
if you have a very long link in your email it can get wrapped too,
causing it to become unclickable by the person receiving it.
You can manually override word wrapping within part of your message like this:

The text of your email that
gets wrapped normally.

{unwrap}http://example.com/a_long_link_that_should_not_be_wrapped.html{/unwrap}

More text that will be
wrapped normally.

Place the item you do not want word-wrapped between: {unwrap} {/unwrap}

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



PayPal

Sandbox


Download URL



Trial: 1 minute. Full version: unlimited hours.












































This feature is available in Full Version and limited in Trial Version!
You can send email to the buyer in Trial Version.
Still, keep in mind that in Trial Version body of email to the buyer is not changeable!



































As a security precaution if you want to use Google SMTP server to send e-mails, but you fail to log on,
you must complete these additional steps when you login for the first time in PayPal Button Generator.
  1. Try to login to Google SMTP server in PayPal Button Generator

  2. Open a new browser tab and login normally in your Gmail account
    https://mail.google.com

  3. In another browser tab, open
    https://accounts.google.com/DisplayUnlockCaptcha and follow the steps.

  4. Try to use Google SMTP server again in PayPal Button Generator within the next ten minutes.


















































Leave a comment on
www.simplexsolver.com