Adding a paypal button

6 replies
  • WEB DESIGN
  • |
Hi

I got my index page loaded up fine. Which for me is doing well. But the paypal button script doesn't work. I chose to use my own graphic.

So, I've been given a code from paypal - part of which is below:

<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="10xxxx">
<input type="image" src="http://howto .....
</form>

I don't want to reveal it all.

I just put it at the base of my index sales page, ie just before the end of my page </body>

I have a good sales page and I wanted to keep their graphic and use paypals system.

Do I have to replace the image src in the page? Just pasting this script in doesn't work at all. Can you help please?

Thanks,

Kathy
#adding #button #paypal
  • Profile picture of the author Karen Blundell
    If you want to use another image instead of PayPal's hosted one, the best and easiest way to do it is to use the PayPal email payment link something like this:

    Code:
    <a href="paypal email link code"><img src="yourdomain.com/payment image"></a>
    Signature
    ---------------
    {{ DiscussionBoard.errors[1533466].message }}
    • Profile picture of the author folkcare
      Karen Thanks for that.

      If I use the email technique, when I go to paypal - merchant services - email - the system expects me to have the client's email address to request money.

      I want this to just work on autopilot; if I'm getting orders I cant provide an email address each time.

      Really all I need to know is where I should put the script that paypal gives me. And what I should do with the current graphic that's sitting on the site with bank and paypal so nicely presented.

      It looks so nice I just don't want to replace it with a normal paypal button. I'm looking to embed my script into it for instant payments.

      I just don't know how to do this.

      Thanks,
      Signature
      {{ DiscussionBoard.errors[1534853].message }}
  • Profile picture of the author lochsloyca
    Hi Kathy

    From what I can understand I think you are wanting a payment link within the image that is already there without using the Paypal script?

    Ok, when you go and create a button at Paypal it will give you two options for two different sets of code (after you have gone through the details of the product you are selling)

    1) A website script
    2) An "Email code" (the tab beside the Website script)

    Forget the website script and copy the email code. After you have copied the email code, go to your html/website creation software, select your payment image and select the option to insert a hyperlink into the image. Paste in the "email" code that you just copied from Paypal, save and yer done!

    I hope this works for you

    Connor

    P.S. I just realized that this is similar to what Karen was saying, but this works for me, I hope it works for you
    Signature

    Please read the sig file rules

    {{ DiscussionBoard.errors[1535154].message }}
  • Profile picture of the author ziya
    My suggestion is you can contact some web developers to know about it, they may give good solution for it.
    {{ DiscussionBoard.errors[1535375].message }}
  • Profile picture of the author domainsam
    Try contacting paypal.. If they are making money of course they would help!
    {{ DiscussionBoard.errors[1542245].message }}
  • Profile picture of the author vkchiem
    Your code seems to be OK at first look. Just ensure that the block between <form> and </form> is not included within another <form></form> block.

    You can also try to link to the PayPal button image that is hosted on PayPal web site by replacing your line of code that starts with:
    <input type="image"...
    by
    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_donate_LG.gif" name="submit" alt="" />

    If it works, you can then choose other PayPal button images that are also hosted on PayPal web site.

    If nothing works, just drop me a PM with your email contact info and I think I can give you a free help if it doesn't take me more than 15 minutes.

    I hope it helps.


    All the best!
    VK
    {{ DiscussionBoard.errors[1543412].message }}

Trending Topics