In order for the registration fee to appear as a line item, you need to use the "upload" method to create your item button. The results of the "upload" method posts the selections to the PayPal Checkout Screens. To give you a better understanding of how the "upload" method works, see the example below. Note, most 3rd shopping carts and mini-carts use the "upload" method. It's call a method because there are specific variables that you must use. This is not code that can be generated online using the online button creator, the code has to be manually written for your specific requirements and most ofter requires some scripting to manage the selections. This example shows how to add a processing charge to a ticket sale. It demonstrates how to include an additional fee as a line item. <!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 -->
<!-- START OF SCRIPT -->
<SCRIPT language=javascript>
function CalculateOrder(form)
{
if (form.item_name_1.value == "Standard Ticket")
{
form.amount_1.value = 30.00;
}
if (form.item_name_1.value == "Deluxe Ticket")
{
form.amount_1.value = 40.00;
}
if (form.item_name_1.value == "Super Ticket")
{
form.amount_1.value = 50.00;
}
if (form.item_name_1.value == "All Star Ticket")
{
form.amount_1.value = 75.00;
}
}
</SCRIPT>
<!-- END OF SCRIPT -->
</head>
<body>
<!-- START SAMPLE CODE SECTION -->
<!-- PARAGRAPH 1 -->
Upload Method Examples
<br><br>
Ticket Sales, Quantity and Processing Fee with Script.
<br><br>
<!-- START BUTTON EXAMPLES -->
Widget Event Concert Series
<!-- Start of Form -->
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable in your View Cart code. -->
<input type="hidden" name="cpp_header_image" value="https://www.yourwebsite.com/logo.jpg">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address com">
<input type="hidden" name="amount_1" value="0.00">
<input type="hidden" name="shipping_1" 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="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_paynowCC_LG.gif:NonHosted">
<input type="hidden" name="on0_1" value="Widget Event">
<input type="hidden" name="os0_1" value="Concert Series">
<br>
Purchase Ticket:  
<select name="item_name_1">
<option value="Standard Ticket">Standard Ticket - $30.00</option>
<option value="Deluxe Ticket">Deluxe Ticket - $40.00</option>
<option value="Super Ticket">Super Ticket - $50.00</option>
<option value="All Star Ticket">All Star Ticket - $75.00</option>
</select>
<br><br>
Please enter desired number of Tickets:  
<input type="text" size="1" name="quantity_1">
<br><br>
<input type="hidden" name="shipping_2" value="0.00">
<input type="hidden" name="item_name_2" value="Processing Fee">
<input type="hidden" name="amount_2" value="5.00">
<input type="hidden" name="on0_2" value="Note">
<input type="hidden" name="os0_2" value="Processing Fee is Non-Refundable">
All online orders are subject to a non-refundable $5.00 Processing Fee.
<br><br>
<input type="reset" name="reset" value="Clear Selections">
<br><br>
<input name="myform" id="myform" onclick=CalculateOrder(this.form) type=image alt="Make payments with PayPal - it's fast, free and secure!" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynowCC_LG.gif" border=0 name="submit">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<!-- End of Form -->
<!-- END BUTTON EXAMPLES -->
<!-- END SAMPLE CODE SECTION -->
<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>
... View more