Support » Plugin: Gumroad » How to implement wanted="true" without a shortcode

  • I followed Gumroad’s instructions to use my own button instead of their shortcode-generated button in order to initiate the overlay. Here’s how it looks:

    <script src="https://gumroad.com/js/gumroad.js"></script>

    <a href="https://gumroad.com/l/GAPdj">BUY - $1</a>

    When the button is clicked, the overlay runs as it should, except that it shows the user the “I want this!” button instead of showing them credit card fields.

    I want to implement the wanted=”true” option described in the plugin settings, so that the user is taken straight to the credit card input fields. I have tried, for example:

    <a href="https://gumroad.com/l/GAPdj" wanted="true">BUY - $1</a>

    and also

    <script src="https://gumroad.com/js/gumroad.js" wanted="true"></script>

    Neither have any effect. The overlay still opens to the “I want this!” button.

    Please advise.

    https://wordpress.org/plugins/gumroad/

Viewing 2 replies - 1 through 2 (of 2 total)
  • In case others have this question, I found the answer here: https://help.gumroad.com/11169-Creator-FAQ/how-do-i-send-customers-directly-to-the-payment-form

    You have to add ?wanted=true to the end of your URL.

    So using my example above:

    <a href="https://gumroad.com/l/GAPdj">BUY - $1</a>

    becomes…

    <a href="https://gumroad.com/l/GAPdj?wanted=true">BUY - $1</a>

    This will cause the overlay to open straight to the payment (credit card) fields.

    @suvipub did you noticed something?

    The Paypal icon showed up again (out of the blue, did not change anything).

    But there is still an issue, if you open the form and close it, and try to re-open it again you’ll get the spinning icon, again. To make it work you have to reload the page.

    Hope they’ll fix it.

    Imagine a scenario; potential customer want’s to buy something, then they are not sure and close the form, think about it for a minute or so… reopen the form without reloading the page and boom, spinning icon!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to implement wanted="true" without a shortcode’ is closed to new replies.