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™

Enable Button Encryption?

s2Member Plugin. A Membership plugin for WordPress®.

Enable Button Encryption?

Postby drbyte » March 27th, 2011, 5:48 am

Hey Jason

Maybe it's a bug but I found that when I try to offer the first 3 days free membership @0.00 then $$ for every month, the generated short code does not work when you click at the check out paypal button....it does not encrypt the code...

Without the offer the code works well and it's encrypted

Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Enable Button Encryption?

Postby Jason Caldwell » March 31st, 2011, 1:42 am

Hi Sam. Great to hear from you again.
Thanks for reporting this important issue.


Would it be possible for you to attach a screen shot for me?
Something that shows how you reproduce this with your Shortcode.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Enable Button Encryption?

Postby drbyte » March 31st, 2011, 2:26 am

Hi Jason

Thank you :)

It seems the tp is causing the issue. Once removed the button get encrypted. I have all PayPal API credentials fields setup correctly

[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze / description and pricing details here." ps="paypal" cc="USD" ns="1" custom="www.site.com" ta="0" tp="3" tt="D" ra="13.99" rp="1" rt="M" rr="1" image="default" output="button" /]



Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Enable Button Encryption?

Postby Jason Caldwell » March 31st, 2011, 3:06 am

Thanks Sam.
Yes, that's a bug. The PayPal® API method `BMCreateButton` expects (amount|a1|a3) to include 2 decimal places during encryption; which is not always the case with s2Member Shortcode values. I'm having this fixed in the next release. Until then, this should do the trick. Just set ta="0.00".
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Enable Button Encryption?

Postby drbyte » March 31st, 2011, 4:58 pm

Thank you Jason..you are the best

Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Enable Button Encryption?

Postby rainleader » April 6th, 2011, 5:43 pm

I'm experiencing the same issue and have tried setting ta="0.00" and still can't get encryption to work. Could anything else be causing this?

viewtopic.php?f=4&t=3024

EDIT: After consulting my log file, it appears a3 also cannot be a single digit (e.g. using "5" for $5 is not correct; you must input "5.00").
User avatar
rainleader
Registered User
Registered User
 
Posts: 22
Joined: March 29, 2011

Re: Enable Button Encryption?

Postby Jason Caldwell » April 7th, 2011, 10:43 pm

The fix coming in version 3.5.8 will NOT require changes to your Shortcode attributes. Rather, the encryption routine will automatically convert numeric dollar amounts during encryption to avoid this rather odd requirement on the part of PayPal. You should see the maintenance release of v3.5.8 within days.

~ Thanks for your patience guys.
And thanks for reporting this!
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 2 guests

cron