Page 1 of 1

URL version of the created Paypal button code

PostPosted: December 5th, 2011, 8:00 pm
by hovirag
Hi,

I just created the paypal button but I have a problem with it: My product is sold through payspree ( like clickbank) and I need the paypal URL version of the whole code like eg:
https://www.paypal.com/cgi-bin/webscr?c ... NSWEMUTM7L

This is important as payspree ONLY ACCEPTS the URL version.

I already looked at the code generated but couldn't find the "button id part" within it.

Please let me know how I can access or form the URL version as soon as possible.

Thank you

Erzsebet Bogyo

Re: URL version of the created Paypal button code

PostPosted: December 5th, 2011, 11:57 pm
by Raam Dev
Hi hovirag,

You can use the button shortcode attribute output="url" to have the button shortcode output a URL instead of a form.

For more details on the output= shortcode attribute, please see WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes (Explained).

Is that what you were looking for?

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 6:07 am
by hovirag
HI,

thank you but I don't understand a word from what I can find under that section.....


I changed to output="URL" in the generated shortcode and put it on a page but it gives me the paypal image

Then I set image="" within the shortcode but the result is the same: I get a paypal image on the page


This is NOT WHAT I NEED!

I need the URL form of the code - instead of the code/paypal image.

Please creators let me know how to do this - I have to have it working today as I have my product launch tomorrow!

Thank you

Hovirag

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 9:24 am
by Eduan
You see your shortcode right:
[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.yoursite.com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

you see the image="default" value near to the end? Change from "default" to the URL of your photo.

Hope this helps. :)

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 10:38 am
by Raam Dev
It should be output="url", not output="URL". Please try it again with the correct case. This will generate a URL version of the button.

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 1:23 pm
by hovirag
Raam Dev wrote:It should be output="url", not output="URL". Please try it again with the correct case. This will generate a URL version of the button.

fantastic - it works now!
it's veryyyyy long but that's what I needed :)

thank you for your help


Hovirag

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 1:33 pm
by hovirag
I did put 'url' first in but when I saw a code on the page I thought it was faulty. This time I just tried putting that into the browser and then saw that it does work :)

So for people who will have the same issue in the future:

FIRST you generate the code - then in the shortcode you change 'button' to 'url' ==> put it on a page in wordpress - update
Then go to the p age and copy the code you see on the page ==> put it in the browser & you'll see that the 20 lines+ long "code" IS a URL address - the one you were looking to create :)
So save the "code" and delete it from the page as you don't need it there.

Re: URL version of the created Paypal button code

PostPosted: December 6th, 2011, 10:52 pm
by Raam Dev
Thanks for the tip, hovirag! :)

Re: URL version of the created Paypal button code

PostPosted: December 29th, 2011, 8:52 am
by hb060992
Sorry for the bump but I'm having the same issue with url.

I have followed the solution given above which has successfully created the URL. However when I click though to it paypal gives this message

You have requested an outdated version of PayPal. This error often results from the use of bookmarks.


I have no idea why this is. Does part of the code need to be deleted or edited?

Any suggestions are most appreciated

I'm using the latest version of S2 basic at the moment if that is any help

Re: URL version of the created Paypal button code

PostPosted: December 29th, 2011, 11:43 am
by Raam Dev
Could you share your button shortcode (or the encrypted URL version that you're trying to use)?

Re: URL version of the created Paypal button code

PostPosted: December 30th, 2011, 4:43 am
by hb060992
Thanks for the reply,
please see it below

[s2Member-PayPal-Button level="1" ccaps="" desc="Yearly Subscription - 12 boxes" ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="beautyboxdirect.com" ta="0" tp="0" tt="D" ra="110" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]

Re: URL version of the created Paypal button code

PostPosted: December 30th, 2011, 3:52 pm
by Raam Dev
hb060992,

Your button shortcode looks fine. Have you tried clearing your browser cache? Also, would it be possible to post the URL to a page with the button on it, so we can try clicking the button to see if we get the same PayPal error?

Re: URL version of the created Paypal button code

PostPosted: December 30th, 2011, 5:45 pm
by hb060992
Cleared the cache and works fine now!

Thanks for the suggestion :)

Re: URL version of the created Paypal button code

PostPosted: January 1st, 2012, 5:07 pm
by Raam Dev
You're most welcome! Glad to hear it's working now. :)

Re: URL version of the created Paypal button code

PostPosted: January 8th, 2012, 12:32 pm
by peircea
I am having the same problem and clearing the cache didn't work.

This short code button works fine:
[s2Member-PayPal-Button level="1" ccaps="" desc="Rookie / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="members.makemycalendar.net" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]

And this shortcode url gives the "You have requested an outdated version of PayPal" error:
[s2Member-PayPal-Button level="1" ccaps="" desc="Rookie / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="members.makemycalendar.net" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="url" /]

Any thoughts?

Re: URL version of the created Paypal button code

PostPosted: January 8th, 2012, 1:03 pm
by peircea
Nevermind- for some reason the link that was published on the page didn't work, but the link in the page source code did.