How do I add paypal code to a payment button

3 replies
hey yall,

I bought a package of "order now", buttons and I want to start using them, but I don't know where the code for my paypal account goes in the html

I've copied a few lines of the code that includes the button code that I'm going to be using below, if that helps.

If someone could just show me where to put the paypal code and any other code that is needed to make it work right, i would appreciate it

thanks
txmom
#add #button #code #payment #paypal
  • Profile picture of the author texasmom64
    well i couldn't put the code in untill after i've made 15 post, so I hope you understand what i'm talking about
    Signature

    Are You Desperately Trying To Earn An Income Online, But No Matter How Hard You Try, It Just Ain't Happening?

    Extreme Newbie Income Can Help!

    {{ DiscussionBoard.errors[302043].message }}
  • Profile picture of the author Seans0n
    I'm not sure exactly what you mean. You've bought some "order now" buttons? Are these simply graphics that you've paid for? If so you would simply replace the src part of the button:

    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="">

    Replacing https://www.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif with the location of your image.

    If not then I'm assuming you're new to HTML. In which case you would simply paste the code between the <body> tags of your page wherever you want the button to appear.
    {{ DiscussionBoard.errors[302099].message }}
    • This should be exactly what you're looking for:

      Code:
      <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=yourpaypal@email.com>
        <input type="hidden" name="item_name" value="YOUR ITEM NAME HERE">
        <input type="hidden" name="currency_code" value="USD">
        <input type="hidden" name="amount" value="00000.00">
        <input type="hidden" name="custom" value="ANYTHING TO PASS TO YOUR IPN">
        <input type="hidden" name="invoice" value="INVOICE NUMBER TO INSURE UNIQUE ORDERS ">
        <input type="hidden" name="return" value=http://THERETURNPAGE.ONYOURSITE.COM>
        <input type="image" style="padding:10px;" src="http://www.YOURSITE.com/YOURBUTTON.JPG" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
        </form>
      {{ DiscussionBoard.errors[302340].message }}

Trending Topics