HTML - Paypal Donation Button Custom Script?
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. Similar TutorialsHjallo wizkids I need some help on a forum I'm currently building a test of a new forum. I'm trying to get some paypal buttons onto the forum portal as seen on www.nicoan.dk I want to get rid of the grey background, the images are .png! So I think it might be the <form> tag that creates the background This is one of the images Also I want to them to be horizontal and not vertical This is the unprotected code for one of the buttons Code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="business" value="Q8A9Q349JJUKE"> <input type="hidden" name="lc" value="DK"> <input type="hidden" name="item_name" value="Helix"> <input type="hidden" name="amount" value="5.00"> <input type="hidden" name="currency_code" value="GBP"> <input type="hidden" name="currency_code" value="GBP"> <input type="hidden" name="bn" value="PP-DonationsBF:5gbp.png:NonHosted"> <input type="image" src="http://www.nicoan.dk/images/icons/5gbp.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/da_DK/i/scr/pixel.gif" width="1" height="1"> </form> This is the protected code Code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCMGxa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i5g1ptGzTyNadE1tbFXK3kMY9TOZYb/XyMBNGqpm4V3491gkVUxtYyOo=-----END PKCS7----- "> <input type="image" src="http://www.nicoan.dk/images/icons/5gbp.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/da_DK/i/scr/pixel.gif" width="1" height="1"> </form> Any help will be much appreciated! ~ Aki Hey 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! 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! 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> 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?? 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 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 Is there a way to put a custom graphic for the browse button in the file upload field, similar to how you can use a custom graphic for the submit button? I am setting up a non-profit web page and they are going to want a donation page for on line donation using credit cards. other than knowing that they need a "merchant account", is there some kind of software that interacts with the merchant account. I don't think it's necessary to go and set up a store, because of the cost and it seems like over kill. Hi guys I've recently got into to the whole making sites for people running for political office and a lot of them want a donation function on there pages only problem is I have like NO idea how 2 do that. Its it done with HTML? Do I need to run through pay pal? Do I need to hand code the fields? So more then like a specific Q and A on this one I just need a broader response on where and how this is done. Thx 4 the assist. John Hi, I am newbie in creating web page. I am wondering can I create a html button to call the perl script. Is this possible? Hi, this is jyothi. I am new in this site, I am preparing new program with login page, But I don't know the script for the login button, Can anyone please help me. Ok, basically here is the run down of what I am looking for this script to do. Code: http://www.thisisjustanexamplesite.com/stats=XXXX-XXXX-XXXX (X's representing numbers) All I want is the webpage to just show a text field and a submit button. So when the user puts in the numbers in the text field and hits submit, it automatically will put the numbers he put into the text field on the end of that link mentioned above and then take them there. I'm thinking it should just be simple HTML but possbily PHP maybe, not sure. Any help would be appreciated! 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 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> 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 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? 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 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 |