• Hi Everyone,

    Can you help me, I am working on a Friends website and for some reason the PayPal buttons are not working.

    The url is https://thinkandgrowrichcanada.com/tickets

    I just copied the code from PayPal and when I save it and go to the website it doesn’t work.

    I called PayPal and they are no help they said call my web developer when I told them there isn’t one, they told me to call my web developer…WHAT! Then they hung up on me.

    Can someone help me with the code and just let me know what isn’t working. I am sure it’s something simple.

    Thanks
    Brandon

Viewing 13 replies - 16 through 28 (of 28 total)
  • In any case, it is not advisable to change the code given by PayPal.

    I’d agree with the above, but I actually DID try to “fix” the bad one with code from the good one – and it did not work.

    I really think you have to go back to PayPal on this.

    WPyogi,
    Interestingly, both the codes above work perfectly. I tested them again.

    Wow, weird – you clicked on the “buy” and got a valid PayPal page?

    WPyogi said:

    I really think you have to go back to PayPal on this.

    And I said in my above post:

    I would suggest to go to PayPal back and get your button code again.

    So, that’s what you have to do.

    Wow, weird – you clicked on the “buy” and got a valid PayPal page?

    Yes. That’s it.

    Thread Starter knssconsulting

    (@knssconsulting)

    Please read above about what PayPal support told me

    Can you put that code in a plain HTML page and show that it works?

    I just did the above – put it in a plain HTML document, uploaded it to my own test server and it gives the same error on the PayPal page. I really don’t know what else to suggest, sorry.

    Thread Starter knssconsulting

    (@knssconsulting)

    It’s weird because this code works, and when I tried to type in the specific values that to this code it doesn’t work so I have no clue. That is why I need a someone who does coding

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <div style="display: inline;" data-wst-duda="hide"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input type="hidden" name="cmd" value="_s-xclick" />
    <input type="hidden" name="hosted_button_id" value="EHAHV8BA52JUG" />
    <table>
    <tbody>
    <tr>
    <td><input type="hidden" name="on0" value="Ticket Prices until May 31st." />Ticket Prices until May 31st.</td>
    </tr>
    <tr>
    <td><select name="os0"><option value="2 VIP Seats and 2 signed copies of Greg's book -">2 VIP Seats and 2 signed copies of Greg's book - $100.00 CAD</option><option value="2 VIP Seats, 2 signed book copies+Dinner with the Speakers -">2 VIP Seats, 2 signed book copies+Dinner with the Speakers - $150.00 CAD</option></select></td>
    </tr>
    </tbody>
    </table>
    <input type="hidden" name="currency_code" value="CAD" />
    <input type="image" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" />
    <img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" border="0" />
    
    </form></div>
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Starting from the top:

    I just copied the code from PayPal and when I save it and go to the website it doesn’t work.

    Where and how exactly did you paste that code and into what? This is an important question. Please try to be specific if you can.

    Also have you tried Krishna’s suggestion…?

    https://www.ads-software.com/extend/plugins/search.php?q=paypal

    Thread Starter knssconsulting

    (@knssconsulting)

    Hi Jan,

    The old code I got form the site in the area it is working

    https://thinkandgrowrichcanada.com/keynote-speakers/

    if you see it on the right hand side it works.

    That was the old code from the ticket area as well.

    When I copied the native original code from PayPal it didn’t work, when I called them they told me it’s the website I need to find a developer to fix it.

    that is why I was asking for help.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    The old code I got form the site in the area it is working

    Yes. That was made clear about 25 posts ago. ??

    When I copied the native original code from PayPal it didn’t work, when I called them they told me it’s the website I need to find a developer to fix it.

    Got that too.

    Where and how exactly did you paste that code and into what? This is an important question. Please try to be specific if you can.

    1. Are you attempting to paste it into a post using the post editor?
    2. Are you attempting to paste that into a page template?

    If it’s the first one then that wont work. The post editor will sanitize the HTML and that will make it go Kablooey. I don’t think that’s necessarily what you are attempting but I want to make sure.

    If it’s the second one then that may work depending on how and where you are doing and applying that code.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    NOTE: Re-reading this whole thread once again I think I’ve missed something basic.

    …You haven’t used this code yet and are asking how to do it…?

    If that’s the case then I apologize for missing that.

    If that’s not the case then please provide what you’ve attempted.

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘PayPal Button not working’ is closed to new replies.