PayPal Drop down

  • Unknown's avatar

    Good morning all.

    I am trying to implement a Paypal drop-down menu on my WP site.

    I took the code from PayPal and copied it into a test page, however, it is not working. It shows a listing, vs. a drop-down:

    https://friendsofdcwc.wordpress.com/upcoming-events/test-2/

    Any fixes to this?

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi kimartyac,

    What you’ll want to do is log in to Paypal and then go to this link to create a button.

    https://www.paypal.com/cgi-bin/webscr?cmd=_button-management

    Then click on “Create New Button” in the Related Items box on the right side.

    Once on the button page, choose the “Buy Now” button type. Then under customize button, you’ll need to click the box saying “Add drop down menu with price/option”

    Then just input the rest of the data and that should work for you!

    Let me know if you have any other problems that I can help with.

  • Unknown's avatar

    That’s the problem – we already did that.

    It is not working I’m afraid.

    If you go to the link I provided, https://friendsofdcwc.wordpress.com/upcoming-events/test-2/ – you will see how it comes out – it’s not a drop down.

    Are there any fixes?

  • Unknown's avatar

    Ok, no worries.

    Could you copy/paste the exact HTML that you are using?

  • Unknown's avatar

    Of course! Here we go:

    <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=”RB7LAJJ365NQN”>
    <table>
    <tr><td><input type=”hidden” name=”on0″ value=”Ticket Prices”>Ticket Prices</td></tr><tr><td><select name=”os0″>
    <option value=”Table for 8″>Table for 8 $400.00 USD</option>
    <option value=”Individual Ticket”>Individual Ticket $55.00 USD</option>
    <option value=”Student Ticket”>Student Ticket $25.00 USD</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_buynowCC_LG.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>

  • I am trying to implement a Paypal drop-down menu on my WP site.

    You can’t. We can only use the basic PayPal donation button on WordPress.com. There is no way to use the drop-down button and no upgrade that will allow you to use it. https://en.support.wordpress.com/paypal/get-paypal-button-code/

  • Unknown's avatar

    Thanks for the info & link kokkieh – I really appreciate it. That’s too bad.

    thecollinmesser – given this, did you still want to look at the code?

  • Unknown's avatar

    @kimartyac

    I was messing with the code and arrived to the same conclusion. It seems many people have tried the same thing and have the same issue. The form works with WordPress.org but not WordPress.com. I would follow the link above to create a button and direct them to Paypal to pay.

  • Unknown's avatar

    Thanks for trying! Sure – yea the issue is that ideally I need one drop down to offer three different payment options for guests to attend an event – I’m not inclined to set up three different PayPal buttons for the same event – thought we will see. I spoke with PayPal and they don’t offer pull-downs on their site either – sigh.

    However, just to clarify – to make sure I’m following – the site URL is:

    friendsofdcwc.wordpress.com

    Not a wordpress.org. Regardless though, even if it works on a .com – it’s still not working on this one I guess.

  • Regardless though, even if it works on a .com – it’s still not working on this one I guess.

    The drop-down button definitely doesn’t work on WordPress.com. That’s because that button uses form-code which is automatically blocked on WordPress.com. You also cannot set the button for any specific amount, so having three buttons won’t help.

    What most people do is clearly outline the different amounts payable for the different services. Then users insert the correct amount themselves when they’re on PayPal. For control on your side you can then add a contact form where users can indicate which service they bought (you can add a drop-down to the contact form for that purpose) and also add a text field where they can paste the receipt number from PayPal so you can check. See here for instructions on adding a contact form: https://en.support.wordpress.com/contact-form/

  • @thecollinmesser
    I notice the site linked to your profile is a self-hosted site. Please note that WordPress.com and WordPress.org are completely separate and different, with each having their own support pages and support forums. Even though they have the same core software, the two platforms work completely differently, so instructions for .com won’t work for a .org site, and vice versa.

    While you’re more than welcome to help out in this forum, please be aware that this forum only provides support for free WordPress.com blogs. Please be careful not to give advice here that are applicable to self-hosted WordPress.org sites, as that advice won’t work for users with WordPress.com sites. The only official support documentation can be found here: http://support.wordpress.com/ There are also a few tutorial sites that focus on WP.com, but the vast majority is for WP.org, so rather stick with the official support docs when providing help.

  • Unknown's avatar

    ok thank you to both of you – I think I’m set for now! I really appreciate your speedy responses.

  • You’re very welcome :)

  • Unknown's avatar

    I’m sorry but one more kokkeih – my organization doesn’t want to let it go. I’m sorry if you covered this, but I don’t believe so.

    If we install a PayPal plug-in on the site would this permit drop-downs to work?

  • Unfortunately it’s impossible to install plugins on WordPress.com. Those are only available for self-hosted WordPress.org websites, and if you had a self-hosted site you could just use the PayPal code in any case.

    Depending on what exactly it is you’re doing, you might want to consider the business upgrade. With that upgrade you have an option of three possible shopping cart plugins you can use to sell something. https://en.support.wordpress.com/ecommerce/

    Another option, if the $300 per year upgrade is a bit steep for you, is to register with another website that has the necessary facilities so you can sell tickets via them, and then add a link to your page there via your WP.com site, either on a page, in a text widget, or using a custom menu link. I answered another thread of someone trying to sell tickets to an event via skiddle.com, so you could check that site out as an option, or otherwise see what Google turns up.

    Keep in mind that if you go through another service provider like that, their embed code most likely won’t work on WordPress.com as they invariably contain Flash code which is not allowed here. You will have to place an outgoing link on your site to that third-party site.

    Let us know if you have any more questions.

  • Unknown's avatar

    Ok you rock kokkieh – all of these ideas are amazing. I will pass them on now to my folks. Hopefully this will be it!

  • I hope one of them works for you :)

  • Unknown's avatar

    So do I! If it’s OK – I’d like to keep this thread open for now – some other questions might pop up.

    And if you don’t mind my asking – in theory – shouldn’t PayPal drop downs be able to work on WordPress.com? Especially if it can work on WordPress.org.

    It doesn’t seem like it should be this complicated. It’s just a drop-down.

  • Threads auto-close about a month after the last post, so this thread will be open for a while still. And you can always start a new thread if this one isn’t open anymore. Nonetheless, I’m subscribed to this thread, so I’ll see if you post here again :)

    The reason the PayPal drop-down isn’t available on WordPress.com is because we have certain code restrictions here. Drop-downs like that are created with code that could potentially be used to introduce malware to the site. All sites on WordPress.com run off the same software, so they’re all linked, which means if malware gets introduced on one site, it can potentially bring down all our sites. For this reason there’s a blanket ban on all types of codes that can be abused this way. The exception is where WordPress.com has created a shortcode or widget to circumvent that code (e.g. the contact form), thus making it useless for introducing malware. https://en.support.wordpress.com/code/

    On WordPress.org, each site has its own unique installation of the software, i.e. they’re not linked, so you can use whatever code you want there.

    It can be frustrating if you want to use a feature like this that is affected by this policy, but ultimately it’s to protect our sites from being infected.

  • Unknown's avatar

    Got it – thank you kokkieh!

  • The topic ‘PayPal Drop down’ is closed to new replies.