www.webdeveloper.com
Results 1 to 1 of 1

Thread: I need help adding Shipping to Paypal

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    177

    Question I need help adding Shipping to Paypal

    Here is what I have:

    HTML Code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" name="myform" onsubmit="CalculateOrder ();">
    
    
    
    <input type="hidden" name="add" value="1">
    
    <input type="hidden" name="cmd" value="_cart">
    
    <input type="hidden" name="business" value="youremail@gmail.com">
    
    <input type="hidden" name="item_name" value="prints">
    
    <input type="hidden" name="item_number" value="&#37;TITLE%-%FILENAME%">
    
    <input type="hidden" name="amount">
    
    
    
    	
    
    <input type="hidden" name="on0" value="Size">
    
    <select name="os0">
    	<option value="-" amount="0.00">- - - Select - - -
    	<option value="5x7">5x7 $4.50
    	<option value="8x10">8x10 $9.00
    	<option value="11x14">11x14 $12.00
    	<option value="12x16">12x16 $16.00
    	<option value="16x20">16x20 $20.00
    	<option value="Canvas 11x14">Canvas 11x14 $88.00</option>
    	<option value="Canvas 16x20">Canvas 16x20 $113.00</option>
    	<option value="Canvas 8x10">Canvas 8x10 $63.00</option>
    
    </select>
    
    </div> <br><br><br>
    </td>
    
    
    <td width="100"><div class="select">
    
    
    <!-- Beginning of Options Menu -->
    
    <input type="hidden" name="on1" value="Options">
    
    <SELECT name="os1">
    
    <OPTION value="color">Color</OPTION>
    
    <OPTION value="Black & White">B&W</OPTION>
    
    </SELECT>
    
    <!-- End of Options Menu -->
    </div> <br><br><br>
    </td>
    
    
    <td width="100" ><div class="button"><br>
    
    <input type="image" src="../images/addtocart.gif" name="submit" alt="add to cart"><br><br><br>
    
    <input type="hidden" name="currency_code" value="USD">
    
    <INPUT TYPE="hidden" name="weight_cart" value="2.00">
    <INPUT TYPE="hidden" name="weight_unit" value="lbs">
    <input type="hidden" name="lc" value="US">
    
    <input type="hidden" name="bn" value="PP-ShopCartBF">
    </div>
    
    </td>
    
    <td width="100"><div class="button">
    
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    
    <input type="hidden" name="cmd" value="_cart">
    
    <input type="hidden" name="business" value="youremail@gmail.com">
    
    <input type="image" src="../images/viewcart.gif" name="submit" alt="View Shopping Cart"><br><br>
    
    <input type="hidden" name="display" value="1">
    
    <input type="hidden" name="page_style" value="Primary">
    </form>
    </div>
    I would like to add a shipping charge of 1.50 per item. Any help or ideas is much appreciated.
    Last edited by shutterbug; 05-12-2011 at 09:44 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles