• Resolved presson2022

    (@presson2022)


    Hi, the question I have is that with my upgrade page, I’m creating some custom buttons. The plugin doesn’t appear to have a URL for upgrade with PayPal so the question is, how can I create a PayPal link to use on my custom buttons?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter presson2022

    (@presson2022)

    Anyone?

    Plugin Author Cristián Lávaque

    (@clavaque)

    Hi @presson2022

    In s2’s paypal button’s shortcode, you have a couple attributes that could help with that: output, and image. WP Admin > s2Member > PayPal Buttons > Shortcode Attributes Explained

    image="default" Button Image Location. Possible values: default = use the default PayPal Button, https://... = location of your custom Image.

    output="button" Output Type. Possible values: button = PayPal Button w/hidden inputs, anchor = PayPal Button ( <a> anchor tag ) URL w/ ?query string, url = raw URL w/ ?query string.

    ??

    Thread Starter presson2022

    (@presson2022)

    Sorry but not the same. What you just typed is for a shortcode that produces a clickable text link. That’s not what I’m asking. I’m asking for a URL for a button. You can’t put a shortcode on a button. You have to put an actual URL on the button. I have custom buttons already defined so I’m in search of a URL and not a shortcode.

    Plugin Author Cristián Lávaque

    (@clavaque)

    You can use output="url"

    ??

    Thread Starter presson2022

    (@presson2022)

    What does that mean?

    Plugin Author Cristián Lávaque

    (@clavaque)

    In your s2Member shortcode for PayPal buttons, you’d use that output=”url” attribute, so that it outputs a URL. If your custom button takes wordpress shortcodes, you’d put the shortcode there. See: WP Admin > s2Member > PayPal Buttons

    ??

    Thread Starter presson2022

    (@presson2022)

    So you’re saying that if I change this:

    output=”button”

    To this:

    output=”URL”

    It will show a URL? Because right now it doesn’t. It shows a dead shortcode.

    Thread Starter presson2022

    (@presson2022)

    URL is case sensitive but it’s still showing me a button. How do I get a URL out of it?

    Plugin Author Cristián Lávaque

    (@clavaque)

    Could you show me the shortcode you’re using?

    Thread Starter presson2022

    (@presson2022)

    [s2Member-PayPal-Button level=”1″ ccaps=”” desc=”Bronze Member / description and pricing details here.” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”domain.com” ta=”19.99″ tp=”30″ tt=”D” ra=”0.01″ rp=”1″ rt=”M” rr=”1″ rrt=”” rra=”1″ image=”default” output=”URL” /]

    Plugin Author Cristián Lávaque

    (@clavaque)

    Thanks.

    I see you wrote “URL” in uppercase, and you mentioned the case in your other reply, but did you try it lowercase?

    [s2Member-PayPal-Button level=”1″ ccaps=”” desc=”Bronze Member / description and pricing details here.” ps=”paypal” lc=”” cc=”USD” dg=”0″ ns=”1″ custom=”domain.com” ta=”19.99″ tp=”30″ tt=”D” ra=”0.01″ rp=”1″ rt=”M” rr=”1″ rrt=”” rra=”1″ image=”default” output=”url” /]

    ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Paypal Button Links’ is closed to new replies.