We refer to this type of sceniaro as Pay Your Bill Online. You can use either Buy Now item button code or Add to Cart. Below is an example of Buy Now item button where as the customer enters some basic info and an amount. This code was manually created. Feel free to tweak for your needs: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Button Example Code</title>
<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->
</head>
<body>
<!-- START SAMPLE CODE SECTION -->
<!-- PARAGRAPH 1 -->
Pay Your Bill Online Examples
<br><br>
Buy Now - Customer Enters Amount, very simple.
<br><br>
<hr align="left" width="50%" noshade>
<br><br>
<!-- START CONTENTS -->
<!-- START BUTTON EXAMPLES -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable. -->
<input type="hidden" name="cpp_header_image" value="https://www.yourwebsite.com/logo.jpg">
<input type="hidden" name="on0" value="Customer Number">Please Enter Your Customer Number:
(Example: 99999999)
<br><br>
<input type="text" name="os0">
<br><br>
<input type="hidden" name="on1" value="Invoice Number">Please Enter Your Invoice Number:
(Example: 99999999)
<br><br>
<input type="text" name="os1">
<br><br>
Enter Amount Due :
(Example: nnn.nn)
<br>
<input type="text" name="amount">
<br><br>
<input type="reset" name="reset" value="Clear Selections">
<br><br>
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="cmd" value="_xclick">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<input type="hidden" name="item_name" value="Online Payment">
<input type="hidden" name="item_number" value="OLP-00001">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="shipping" value="0.00">
<input type="hidden" name="tax" value="0.00">
<!-- Replace value with the web page you want the customer to return to after a successful transaction -->
<input type="hidden" name="return" value="http://www.yourwebsite.com/ThankYou.html">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="http://www.yourwebsite.com/Cancel.html">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="country" value="US">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHosted">
</form>
<!-- END BUTTON EXAMPLES -->
<!-- END SAMPLE CODE SECTION -->
<br><br><br><br>
<hr align="left" width="50%" noshade>
<br><br>
NOTES:
<br>
In order to test the code, you must replace the "business" value variable with your PayPal Email Address or Account ID.
</body>
</html> Note, you can also use the online button creator to generate the code. If you want to allow your customers to input an amount on the PayPal Screens for a Buy Now Button, just enter a "0" in the "Amount" Field when you are creating the button. This method works for people who want to use the online button creator. Note, this will "not" work for Add to Cart item buttons.
... View more