HTML - Help Centering Paypal Button
Hello Everyone -
I'm a complete amateur, so please bear with me. I'm just trying to center a paypal button (with drop down menu) on my mom's webpage. Here's the code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="T3SA8HMSXQEFY"> <table> <tr><td><input type="hidden" name="on0" value="Quantity">Quantity</td></tr><tr><td><select name="os0"> <option value="5 Pack">5 Pack $14.00</option> <option value="10 Pack">10 Pack $25.00</option> <option value="Each">Each $4.00</option> </select> </td></tr> </table> <input type="hidden" name="currency_code" value="USD"> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> Any suggestions are greatly appreciated. Thanks! Similar TutorialsHey guys.. im building a website. www.lucymason.com.au and on the site i have a button that links to a paypal page that lets the user buy her CD. The page was fine until i embeded the code paypal gave me for linking the button. after i done this my page formatting when crazy! well its fine in firefox but not in safari and explorer. If any one has any ideas, im really desperate! thanks! www.massageforhealth.us/alert.html i am trying to identify where in the source code to insert our paypal add to cart button i am putting it close to the line with the button graphic but does it go above below after?? Very new to HTML. I have a basic "Add To Cart" button created thru PayPal's website payments standard. I want to add a 20% discount cart wide for "New Customers Only" at checkout. I have checked add variables and added discount_amount_cart=20. Still doesn't work. I have read that PayPal will not allow discounts in their shopping carts because they are not the owner of said discount. True or False?? Is this possible to do thru PayPal w/out using a third party. If not, why do they give us an option to add advanced variables. Hopefully I'm on the right track here. All help is greatly appreciated!!! This is what I have so far. The original button was set up as a "Computer Setup" service costing $60 usd, small button, encrypted, no drop down or text menus. Original code: <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="G7LXUWQLSJPBY"> <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1"> </form> What I have created so far. Still doesn't work. <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="G7LXUWQLSJPBY"> <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="discount_amount_cart"> <input type="hidden" name="item_name" value="New Customer Discount"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="discount_amount_cart" value="20"> <input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1"> </form> To start, I should probably mention I have no experience or knowledge with HTML or coding. I am trying to create a paypal donate button for our website. I would like the user to click the button, then be prompted to enter their in-game username, then be directed to the paypal checkout at the price that I set. The username that they enter will be included in the paypal order options. I'm not 100% sure if this is done with html, and if it isn't I would appreciate a link or tutorial on how I can actually do it. Thanks. Hi, Yesterday, I wasted a couple hours trying to center the Paypal button inside a form inside a table. You can see it near the bottom of this page: http://www.jesussaidfollowme.org/new...t-theology.htm Do you know how to solve my puzzle? Thank you, Greg Hi guys I want to add simple paypal button at my ebooks selling website. Price is fixed 50$ and I don't wish many many fields. Just email address and name are fine. Please give me any code that I can paste and change the following to set to my site payment account id successful_url failed_url notification email amount I want that after successful payment buyer move to download page or for failed payment move to error page. Anybody please help me GCS I have a web page that I had to convert from a .psd file to an html and I'm not able to center a submit button and the text field next to it. I've tried various alignments but I'm also limited by what I can do because when you convert from .psd to html the entire page is one form. I don't have an external link but I'm able to provide html if necessary. Can someone please take a look at my code and offer some suggestions? Thank you Doug Hey all Just wondering if it is all possible to change paypals 'buy now' box code. So that it does something I want before heading off to paypal. Like this Code: <form action="save.php" method="post"> <textarea name="content"></textarea> <br> <input type="submit" value="OK"> </form> Hey All! I didnt know which forum to post this into but i thought i would try here first!! Firstly, i am pretty new to website design, secondly i need to work out how twork with paypal on a site i have created! I have a site that sells online raffle tickets for several competiitions and i need these sales to be done online via paypal!! How do i go about doing this?! Does anyone know any good tutorial sites that will help? Any information will be really appreciated! Many thanks Matt just wondering if anyone knows how to make - where to get a paypal widget, this is for a Clan so its a non profit thing, was hoping to have a per month total it costs, then a bar showing how much has been put in and a donate button i found one he http://bfm.enjin.com/ thanks in advance for your help hi guys, i need some help with my paypal form. I've added option fields and checkboxes but i need to add areas to insert measurements. (basically text boxes). I know how to do this with HTML but my question is: if i put these fields in, will paypal process them and then send me a copy of the orderform so i know what measurements to use? can i access the customers completed form once it is sent through paypal? or will i need to use a php code or something? (if i do does anyone know where i can find the code, maybe have you guys help me write it?) any help is MUCH appreciated, and i could use it asap. thanks a bunch. here's the order form: http://www.collegedresses.com/order.html hi, i have written this form however when i recieve emails from paypal reguarding the order, certain options and fields the user inputted are not appearing. I know they did not just leave them blank because I called them back and asked them. any ideas? hopefully you guys can help me as soon as possible because it sucks calling all these people back and trying to figure out what they want. thanks so much! here's the coded form: the hidden select is on top and appears when a user selects custom design... HTML Code: <a style="display:none" id="selectHidden"> <select name="on2" style="background-color:maroon; font:12px verdana; color:white;"> <option value="none">Select One</option> <option value="white">White</option> <option value="maroon">Maroon</option> <option value="black">Black</option> <option value="heather">Heather Grey</option> </select> </a> <form action="https://www.paypal.com/us/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="collegiateproductions@gmail.com"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="item_name" value="Dress"> <input type="hidden" name="amount" value="40.00"> <table> <tr> <td id="leftcell"><a href="http://www.collegedresses.com/frame.html" target="_blank">Frame:</a></td> <td id="rightcell"> <select name="on0" id="select"> <option value="none">Select One</option> <option value="aframe">A-Frame</option> <option value="strait">Strait Frame</option> </select> </td> </tr> <tr> <td id="leftcell"> <a href="http://www.collegedresses.com/custom.html" target="_blank">Custom Design:</a> </td> <td id="rightcell"> <select onchange="newOptions(this.id)" name="on1" id="on1" style="background-color:maroon; font:12px verdana; color:white;"> <option value="none">Select One</option> <option value="custom">Custom Design</option> <option value="supplied">You Supply Shirt</option> </select><br /> <a id="newSelect"></a> </td> </tr> <tr> <td id="leftcell"><a href="http://www.collegedresses.com/topdesign.html" target="_blank">Design of Top: </td> <td id="rightcell"> <select name="on3" id="select"> <option value="none">Select One</option> <option value="halter">Halter Top</option> <option value="tube">Tube Top</option> <option value="doublestrap">Double Strap</option> <option value="tshirt">T-shirt Top</option> </select> </td> </tr> <tr> <td id="leftcell">Bottom Color: </td> <td id="rightcell"> <select name="on4" id="select"> <option value="bottomwhite">White</option> <option value="bottommaroon">Maroon</option> <option value="bottomblack">Black</option> <option value="bottomheather">Heather Grey</option> </select> </td> </tr> </table> <br /> <strong>Options - All options are free of charge!</strong> <br /> <a href="http://www.collegedresses.com/options.html" target="_blank">Middle Strap:</a> <input type="checkbox" name="on5" value="Middle Strap"> <a href="http://www.collegedresses.com/options.html" target="_blank">Middle Band:</a> <input type="checkbox" name="on6" value="Middle Band"> <a href="http://www.collegedresses.com/options.html" target="_blank">T-shirt Pockets:</a> <input type="checkbox" name="on7" value="T-shirt Pockets">> <a href="http://www.collegedresses.com/options.html" target="_blank">Scrunchy Pockets:</a> <input type="checkbox" name="on8" value="Scrunchy Pockets"> <a href="http://www.collegedresses.com/options.html" target="_blank">Side Pockets:</a> <input type="checkbox" name="on9" value="Side Pockets"> <a href="http://www.collegedresses.com/options.html" target="_blank">Bottom Band:</a> <input type="checkbox" name="on10" value="Bottom Band"> <a href="http://www.collegedresses.com/options.html" target="_blank">Bottom Lace:</a> <input type="checkbox" name="on11" value="Bottom Lace"> <br /> <br /> <strong><a href="http://www.collegedresses.com/measurements.html" target="_blank">Measurements</a></strong> <br /> <table> <tr> <td id="leftcell">Bust:</td> <td id="rightcell"> <select name="on11" id="select"> <option value="none">Select One</option> <option value="bustxs">XS (28-30)</option> <option value="busts">S (31-33)</option> <option value="bustm">M (34-37)</option> <option value="bustl">L (38-40)</option> <option value="bustxl">XL (41-43)</option> </select> </select> </td> </tr> <tr> <td id="leftcell">Waist/Hip: </td> <td id="rightcell"> <select name="on12" id="select"> <option value="none">Select One</option> <option value="waistxs">XS (21-23/30-32)</option> <option value="waists">S (24-26/33-35)</option> <option value="waistm">M (27-30/36-39)</option> <option value="waistl">L (31-32/40-42)</option> <option value="waistxl">XL (33-36/43-46)</option> </select> </td> </tr> <tr> <td id="leftcell">Skirt Length: </td> <td id="rightcell"> <select name="on13" id="select"> <option value="none">Select One</option> <option value="skirtxs">XS (21)</option> <option value="skirts">S (22)</option> <option value="skirtm">M (23)</option> <option value="skirtl">L (24)</option> <option value="skirtxl">XL (25)</option> <option value="skirtother">Other (specify in Comments)</option> </select> </td> </tr> <tr> <td id="leftcell" style="vertical-align:top;">Comment Box: <br />(Please use comment <br />box to specify <br />custom design <br />or give extra <br />instructions.) </td> <td id="rightcell"> <input type="textbox" style="background-color:maroon; font:12px verdana; color:white; font-weight:bold; width:200px; height:200px;" /> </td> </tr> </table> <br /> <br /> <strong>Remember, alterations are FREE!</strong> <br /> <br /> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="htts://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> I REALLY appreciate all the help guys. As this is more than likely a v. dumb question... (I've possibly asked dumber before) Apologies but... Does anyone know if you can amend to "add to cart buttons" from paypal? Every time I amend to <form> code my cart goes on the fritz. All I really want to do is change it from the .gif to a hyperlink... thx in advance... Hey, I have a paypal form that I want to pop up in a new window when the button link is clicked on... here's the beginning of my code: <div id="layer4" style="width:200px; height:40px; position:absolute; left:109px; top:275px; z-index:1;"> <p align="center"><form method="post" action="https://www.paypal.com/cgi-bin/webscr"> any ideas???????????? Ideally I'd prefer to have this without php, but would it be possible to have some forms like; (each form is a select form, multiple option) Form 1 - Select Course Form 2 - Available Course Dates (this is linked through each course) Price: - Course Price Paypal Button - Pay Now So when they pay with paypal, the data from the two forms and price are in paypal also, I think I could setup the paypal button to have the price anyway, but its linking the two forms togethe that I am having issues with, any answers? Very new to html but i've downloaded several Paypal buttons and put the code into my web page. My problem is i want the buttons to run along the page side by side horizontally with spaces between them but they are running top to bottom. I have tried different ways to try and solve the problem but none have worked. Can anyone tell me what i have to do? thanks Morning everyone, hope you can help me! I made a website for a band a few months ago, 1st attempt at this sort of site. The problem i am having a few of the customers, have emailed the band saying the paypal buttons are not working on the merchandise page. So i checked this on my home PC that runs Windows XP, the buttons were all working fine. I was on my laptop which runs Vista and got an email saying the buttons wasn't working, so i checked again on the laptop and none of the buttons were working. Can anyone shed any light on this? Thankyou Link to the Website :- www.****neyrejects.net Hi guys, I am new here and i'm dutch so sorry for my bad language I have a question and i hope u guys can help me with it. I have searched for a script that can show the money we have from donations in a little counter on a website. It can be html or php, i searched for ages for this script and i can't find anywere!! Thnx alot for the help! Greetz, Marlboro / Bouwe I want to create a simple one page html site where I can collect money from a person through paypal in exchange I would send them brand new factory sealed items I already got the PayPal buttons needed but how do i link the pictures of items to the buttons? The goal is for the person to send me money as a gift so PayPal does not charge me any help i would be greatful |