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™

Encrypted buttons fail (in Sandbox)

s2Member Plugin. A Membership plugin for WordPress®.

Encrypted buttons fail (in Sandbox)

Postby PseudoNyhm » June 25th, 2011, 8:54 pm

I think I have everything configured correctly, but when I use encrypted button mode, the PayPal Sandbox will not accept it (generic error message "Message 3005"). This happens whether or not I configure my PayPal Website Payment Preferences to require encrypted buttons.

When I look at the source code of my page, I see that s2Member did, indeed, created what looks like an encrypted button (there is a PKCS#7 encrypted string in a hidden field). I'm crypto-savvy, but not familiar with PayPal's API, so I'm not sure how to diagnose further.

Any recommendations as to how I can get encrypted buttons to work? (Also note that everything works splendidly without encryption.)

UPDATE: Just got word from PayPal that encrypted buttons might not work in the Sandbox... seeking further confirmation from PayPal...
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Encrypted buttons fail (in Sandbox)

Postby Cristián Lávaque » June 25th, 2011, 11:56 pm

Thanks for the update. I look forward to what PayPal tells you later.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Encrypted buttons fail (in Sandbox)

Postby PseudoNyhm » June 26th, 2011, 7:14 pm

PayPal reports that the sandbox should work just fine with encrypted buttons. I will double-check my configuration to make sure I've got everything in the Sandbox and s2Member configured correctly...
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Encrypted buttons fail (in Sandbox)

Postby PseudoNyhm » July 1st, 2011, 10:13 am

I've triple-checked that my PayPal (Sandbox) and s2Member settings are all OK. When enabling encrypted buttons, paypal fails with a generic "Message 3005" page stating that they are having technical difficulties (which I think is a bogus catch-all when something comes in that it can't deal with).

I have confirmed that when I turn on s2Member encrypted buttons, the page code includes (what would appear to be) a PKCS#7 encrypted string, in place of the plain-text button code.

Encrypted buttons are not accepted by PayPal regardless of the "Block Non-Encrypted Website Payments" setting. PayPal claims the Sandbox should be compatible with encrypted buttons. I have not been able to test this on a live PayPal account (only Sandbox).

Can you test whether encrypted buttons work in Sandbox for you?
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Encrypted buttons fail (in Sandbox)

Postby Jason Caldwell » July 2nd, 2011, 10:42 am

I can confirm that Encrypted Buttons work ( i.e. can be tested ) in our Sandbox account. That being said, not all Sandbox accounts are created equal; I've seen some discrepancies from one account to the next. If all else fails, you might try creating a new Sandbox account and see if that helps.
~ 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: Encrypted buttons fail (in Sandbox)

Postby PseudoNyhm » July 2nd, 2011, 10:53 am

Thanks for the confirmation. I'll quadruple-check everything and even try another Sandbox before going live.
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Encrypted buttons fail (in Sandbox)

Postby Cristián Lávaque » July 2nd, 2011, 5:49 pm

And if all else sandbox fails, you can try small live transactions. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Encrypted buttons fail (in Sandbox)

Postby PseudoNyhm » July 2nd, 2011, 6:38 pm

Come to think of it, the failure occurs immediately upon going to PayPal (before you even get a screen showing the terms of the purchase). So, if I switch to a live account, enable encryption, then click the button, I can see if PayPal even accepts the button code. If it does, then I can still decline the subscription (or cancel the subscription if I include a free trial period).
User avatar
PseudoNyhm
Experienced User
Experienced User
 
Posts: 79
Joined: June 19, 2011

Re: Encrypted buttons fail (in Sandbox)

Postby Jason Caldwell » July 15th, 2011, 9:57 pm

For further discussion on this topic, please see:
viewtopic.php?f=36&t=309&p=28461#p28461
~ 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: Bing [Bot], Exabot [Bot] and 1 guest

cron