Page 1 of 1

"The seller accepts encrypted website payments only"

PostPosted: April 26th, 2011, 10:32 pm
by artEV
I'm getting this error message when trying to test my Paypal button:

"The seller accepts encrypted website payments only. You cannot pay the seller through un-encrypted buttons. Please contact your seller for more details."

- In S2M Paypal Options, I have set the API username, password and signature (generated from API signature request in paypal)
- On Paypal > Website Payment Preferences > Encrypted Website Payments, I have set it to ON.

Is there any other setting I'm missing that's causing this error?

Re: "The seller accepts encrypted website payments only"

PostPosted: April 26th, 2011, 10:40 pm
by Cristián Lávaque
Could you check that you have Button Encryption enabled in s2Member? WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Button Encryption

I hope that helps. :)

Re: "The seller accepts encrypted website payments only"

PostPosted: April 26th, 2011, 10:43 pm
by artEV
Yep that is also enabled. I am on S2M 3.5.8, WP 3.1.2 (just updated)

Re: "The seller accepts encrypted website payments only"

PostPosted: April 27th, 2011, 2:26 am
by Jason Caldwell
Thanks for reporting this important issue. Let's try this please.

It sounds like Button Encryption is failing on your installation; thus, PayPal is rejecting your unencrypted PayPal Button. In other words, s2Member is NOT encrypting your Button Code ( for some reason that is yet to be determined ).

In order to find out why, we need you to do the following:
1. Enable s2Member's logging routines under:
s2Member -> PayPal Options -> Account Details -> Logging/Debugging.

2. Load up your Page with the PayPal Button on it.

3. Now check your /s2member-logs/paypal-api.log file. There you should find a detailed explanation as to why Button Encryption is failing. Please feel free to share that with us, and we'll help you out with whatever is causing this problem on your installation.

* Also, please make sure that you disable any WP caching plugins before debugging, as this will eliminate any possibility of stale information during testing.

Re: "The seller accepts encrypted website payments only"

PostPosted: April 27th, 2011, 2:54 am
by artEV
Hi Jason,
When I use and paste the button using the 'Wordpress shortcode', it works fine, but not when I copy over the 'Resulting PayPal® Button Code', it doesn't.

*edit* p.s. I am adding both types of code into the post editor, not sure if that makes a difference

Re: "The seller accepts encrypted website payments only"

PostPosted: April 27th, 2011, 3:00 am
by Jason Caldwell
I see. Sorry for any confusion.
The "Resulting Button Code" is NOT encrypted, it's only provided by s2Member for developers, so that a developer can see what's actually going on. Although the Full Button Code is 100% functional, it is NOT encrypted. Button Encryption occurs dynamically through the application of your Shortcode. So we always recommend the Shortcode version; the Full Button Code is made available only for developers and/or very advanced site owners.

If you need to encrypt a PayPal Button on your own, you can use PayPal's Button Generator, from within your PayPal account. But when/if you do this, you MUST know what you're doing, because there are certain fields within your Button Code that need to remain in a format that s2Member expects. I've done a quick run-down in this thread, that shows you how to accomplish this.
viewtopic.php?f=4&t=309&p=1340&hilit=paypal+generated+buttons#p1333

Re: "The seller accepts encrypted website payments only"

PostPosted: April 27th, 2011, 3:04 am
by artEV
AH, I knew I overlooked something. Great, I'll follow the instructions outlined in that linked thread. Thanks!

*edit: Just an update, I managed to get it working by following the info on the above linked thread :)

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 7:16 pm
by ericsyd
Hi, looked through the adjoining links, can't find anything specific tot he problem.

I'm trying to include an encrypted PayPal button if the [shortcode] format, but I get the same response "Seller only accepts encrypted payments".

I have used the shortcode as described but this is not producing the encrypted button. Does this mean that the encrypted PayPal section of s2member does not work.

Posted earlier: Could you check that you have Button Encryption enabled in s2Member? WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Button Encryption
Yes - have checked this and it is enabled. I have created a button at PayPal and used the provided code and that works fine - but not s2member shortcode.

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 9:24 pm
by Jason Caldwell
It sounds like Button encryption is failing on your installation for some reason. Let's start by enabling s2Member's logging routines please, which will confirm this. It will also provide you with the details about why it's failing.

1. See: s2Member -> PayPal Options -> Account Details -> Logging/Debugging: (on)
2. Load up a page on your site that has an s2Member PayPal Button Shortcode.
3. Open this file and look for any errors that are reported:
/plugins/s2member-logs/paypal-api.log

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 9:37 pm
by ericsyd
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105 :: s2Member® Pro v111105
Code: Select all
-------- Output string/vars: ( Mon Dec 5, 2011 2:30:53 am UTC ) --------
TIMESTAMP=2011%2d12%2d05T02%3a30%3a53Z&CORRELATIONID=dee05eeb9b1ef&ACK=Failure&VERSION=71%2e0&BUILD=2230381&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error
array (
  'TIMESTAMP' => '2011-12-05T02:30:53Z',
  'CORRELATIONID' => 'dee05eeb9b1ef',
  'ACK' => 'Failure',
  'VERSION' => '71.0',
  'BUILD' => '2230381',
  'L_ERRORCODE0' => '10002',
  'L_SHORTMESSAGE0' => 'Security error',
  'L_LONGMESSAGE0' => 'Security header is not valid',
  'L_SEVERITYCODE0' => 'Error',
  '__error' => 'Error #10002. Security error. Security header is not valid.',
)

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 9:40 pm
by Jason Caldwell
This error message.
Code: Select all
L_ERRORCODE0' => '10002',
'L_SHORTMESSAGE0' => 'Security error',
'L_LONGMESSAGE0' => 'Security header is not valid',
'L_SEVERITYCODE0' => 'Error',
'__error' => 'Error #10002. Security error. Security header is not valid.',
)
Indicates that your PayPal API Credentials are invalid. I would double-check your s2Member configuration here please. s2Member -> PayPal Options -> Account Details.

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 9:42 pm
by ericsyd
Thank you for the very quick response.

OK - will check again.

Re- coppied and pasted the details, while some are hashed and I can't see them, the password changed length so I can guess that waas the problem. Thank you for the support.

Re: "The seller accepts encrypted website payments only"

PostPosted: December 4th, 2011, 9:48 pm
by Eduan
@ ericsyd:
The last thing that Jason said (viewtopic.php?p=54569#p54569) means that you should configure your PayPal options correctly, you can check this video on how to do that correctly:
http://www.s2member.com/paypal-options-buttons-video/

s2Member doesn't need to be uninstalled or re-installed, you just need to configure everything correctly.
The fact that you have the multi-site license only makes it better, you get to do more things, but s2Member works the same way, except when the version that one has says that it works differently, but the PayPal options are the same for now in all the versions.

Hope this clears something up.