PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

URL version of the created Paypal button code

s2Member Plugin. A Membership plugin for WordPress®.

URL version of the created Paypal button code

Postby hovirag » December 5th, 2011, 8:00 pm

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
User avatar
hovirag
Registered User
Registered User
 
Posts: 4
Joined: December 5, 2011

Re: URL version of the created Paypal button code

Postby Raam Dev » December 5th, 2011, 11:57 pm

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?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby hovirag » December 6th, 2011, 6:07 am

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
User avatar
hovirag
Registered User
Registered User
 
Posts: 4
Joined: December 5, 2011

Re: URL version of the created Paypal button code

Postby Eduan » December 6th, 2011, 9:24 am

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. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: URL version of the created Paypal button code

Postby Raam Dev » December 6th, 2011, 10:38 am

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.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby hovirag » December 6th, 2011, 1:23 pm

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
User avatar
hovirag
Registered User
Registered User
 
Posts: 4
Joined: December 5, 2011

Re: URL version of the created Paypal button code

Postby hovirag » December 6th, 2011, 1:33 pm

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.
User avatar
hovirag
Registered User
Registered User
 
Posts: 4
Joined: December 5, 2011

Re: URL version of the created Paypal button code

Postby Raam Dev » December 6th, 2011, 10:52 pm

Thanks for the tip, hovirag! :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby hb060992 » December 29th, 2011, 8:52 am

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
User avatar
hb060992
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: URL version of the created Paypal button code

Postby Raam Dev » December 29th, 2011, 11:43 am

Could you share your button shortcode (or the encrypted URL version that you're trying to use)?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby hb060992 » December 30th, 2011, 4:43 am

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" /]
User avatar
hb060992
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: URL version of the created Paypal button code

Postby Raam Dev » December 30th, 2011, 3:52 pm

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?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby hb060992 » December 30th, 2011, 5:45 pm

Cleared the cache and works fine now!

Thanks for the suggestion :)
User avatar
hb060992
Registered User
Registered User
 
Posts: 6
Joined: December 29, 2011

Re: URL version of the created Paypal button code

Postby Raam Dev » January 1st, 2012, 5:07 pm

You're most welcome! Glad to hear it's working now. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: URL version of the created Paypal button code

Postby peircea » January 8th, 2012, 12:32 pm

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?
User avatar
peircea
Registered User
Registered User
 
Posts: 2
Joined: January 6, 2012

Re: URL version of the created Paypal button code

Postby peircea » January 8th, 2012, 1:03 pm

Nevermind- for some reason the link that was published on the page didn't work, but the link in the page source code did.
User avatar
peircea
Registered User
Registered User
 
Posts: 2
Joined: January 6, 2012


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron