Handling Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For www.fairwayvillascorpus.com - Please note the PayPal buttons already set.
For the: 1 BD / 1BR, 2 BD / 1&2 BR, and Penthouse, I want to add:
(1) A $25.00 one-time reservation and booking fee for all units.
(2) A one-time cleaning fee: $50.00 for the 1 BD / 1 BR, $75.00 for the 2 BD / 1&2 BR, and $100.00 for the Penthouse.
I do not want to merely add these costs to the total price as it will drive us higher than others, but I do want it reflected (and charged) as separate line-item charges at checkout.
Thank you in advance for your help.
Dana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunally the "handling" variable won't really work for your needs as it will appear as a shipping charge on the PayPal Screens. What you need to do is use the "upload" method, this will allow you to pass multiple line items to the PayPal Checkout Screens. Here's a few tips:
• The "Upload Method" allows Developers to create third-party shopping carts that are compatible with PayPal and Website Payments Standard. • This method functions differently from the standard PayPal Shopping Cart as you cannot change the item quantities on the PayPal Screens. • It's intended design is to pass more than one line item to the PayPal Screens through the use of a single submit button. • The standard View Cart Button will not work when using the "Upload Method". • There are specific variables intended for this purpose. The required button code variables are: "cmd" with a value="_cart" "upload" with a value="1" item_name_x amount_x quantity_x Where "x" is the number of the item added to the cart starting from 1.
And here's an example of what can be done:
<!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 --> Upload Method Examples <br><br> Add to Cart Example - Uploads 3 Line Items. <br><br><br> Notes: <br> This example uploads 3 line items and includes the Shipping, Tax and Option Variables.   It provides a good general idea of how the coding works. <br><br> Tip: Note, the "shipping_x" override variables are used with each item. If you choose not to include a "shipping_x" override variable with an individual item, shipping will be applied from your Account Profile Shipping Table. If you only want shipping associated with one item and don't want any shipping fees coming from your Account Profile Shipping Table, set the value for the other "shipping_x" variables to "0" or "0.00". <br><br> <hr align="left" width="50%" noshade> <br><br> <b>Basic Add to Cart Example - Uploads 3 Line Items</b> <br><br> <span class="price">First Item: 1 @ $3.00 ea</span> <br> <span class="price">Second Item: 5 @$5.00 ea</span> <br> <span class="price">Third Item: 3 @ $7.00 ea</span> <br><br> <!-- Start of Upload Add to Cart Upload Form --> <form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" 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://static.e-junkie.com/sslpic/86639.7c555e9a35606a4c310ad6ce4e465d50.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"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="button_subtype" value="products"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="cn" value="Add special instructions to the seller:"> <input type="hidden" name="item_name_1" value="First Item"> <input type="hidden" name="item_number_1" value="A1"> <input type="hidden" name="amount_1" value="3.00"> <input type="hidden" name="quantity_1" value="1"> <input type="hidden" name="tax_1" value="0.25"> <input type="hidden" name="shipping_1" value="5.00"> <input type="hidden" name="on0_1" value="Color"> <input type="hidden" name="os0_1" value="Red"> <input type="hidden" name="on1_1" value="Size"> <input type="hidden" name="os1_1" value="Large"> <input type="hidden" name="item_name_2" value="Second Item"> <input type="hidden" name="item_number_2" value="B2"> <input type="hidden" name="amount_2" value="5.00"> <input type="hidden" name="quantity_2" value="5"> <input type="hidden" name="tax_2" value="0.25"> <input type="hidden" name="shipping_2" value="5.00"> <input type="hidden" name="on0_2" value="Material"> <input type="hidden" name="os0_2" value="Red Wood"> <input type="hidden" name="on1_2" value="Finish"> <input type="hidden" name="os1_2" value="Smooth"> <input type="hidden" name="item_name_3" value="Third Item"> <input type="hidden" name="item_number_3" value="C3"> <input type="hidden" name="amount_3" value="7.00"> <input type="hidden" name="quantity_3" value="3"> <input type="hidden" name="tax_3" value="0.25"> <input type="hidden" name="shipping_3" value="5.00"> <input type="hidden" name="on0_3" value="Style"> <input type="hidden" name="os0_3" value="#23"> <input type="hidden" name="on1_3" value="Pattern"> <input type="hidden" name="os1_3" value="Small Squares"> <input type="submit" name="submit" value="submit"> </form> <!-- End of Upload Add to Cart Upload 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, this method cannot be done using the online button creator, the code must be manuall created.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I am seller. Send products, buyer opened case, won, received items for free in About Payments (Archive)
- Got scammed for almost 200 Dollars. Provide Proof of sale, paypal does nothing. in About Business (Archive)
- PayPal change last week affecting transfer of NOPCart shipping variable and amount in About Business (Archive)
- "Check Your Server that handles PayPal Instant.....) in About Payments (Archive)
- Question on how to handle dispute against seller. in About Protections (Archive)