Can you tell me why buy button isn't working?

5 replies
I have a page with two buy buttons. One works fine, the top one opens in a PayPal page instead of the PayPal payment page. Can you tell me why?

Order Page

Please advise. This payment button has been driving me nuts for the past two hours, and I can't seem to get it fixed. I really am not too proficient with Dreamweaver.
#button #buy #working
  • Profile picture of the author highlander11
    neither button works for me. make sure you installed the link in each one
    {{ DiscussionBoard.errors[6987895].message }}
  • Profile picture of the author timpears
    My code from PayPal was pasted in, so that is why I can't understand it. I will show you the 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="hosted_button_id" value="VYD5W6LWVMKDC">
    <input type="image" src="http://www.repincenter.com/images/buynow-green-cursor-circle.png" 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>
    That is for the 3,000 repins

    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="DM3NKZL49L56E">
    <input type="image" src="http://www.repincenter.com/images/buynow-green-cursor-circle.png" 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>
    And that is for the 1,500 repins.

    Each button is supposed to take you to the payment window of PayPal, and then to Untitled Document

    Hope this helps to understand it.
    Signature

    Tim Pears

    {{ DiscussionBoard.errors[6990675].message }}
  • Profile picture of the author KirkMcD
    You may have pasted it somewhere but it's not on the webpage you mentioned, orderpage.html
    {{ DiscussionBoard.errors[6991154].message }}
    • Profile picture of the author timpears
      Originally Posted by KirkMcD View Post

      You may have pasted it somewhere but it's not on the webpage you mentioned, orderpage.html
      Well I don't know how that can be as I have been editing it on that page for a while.

      No matter though. I fixed it myself. Not sure what I did different, but I copied the code from the $57 button, from the open form tag to the close form tag and pasted it into the $97 button, and it worked, but for the wrong price naturally. Then I took the number out of the $97 button and pasted it in over the other number and it worked.

      I have pasted that code in numerous times previously with out success. This time it worked. :confused::rolleyes:

      Thanks for everyone's help.
      Signature

      Tim Pears

      {{ DiscussionBoard.errors[6991263].message }}
  • Profile picture of the author whland
    Glad you got it working. These codes always want to pester us and give us problems. Then they finally decide to work. xd

    Chad
    Signature
    WebMasterBabble.com Webmaster Forum
    {{ DiscussionBoard.errors[7019090].message }}

Trending Topics