close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

still struggling with sandbox

Thread began 3/10/2014 12:47 pm by acornist | Last modified 3/10/2014 2:29 pm by Jason Byrnes | 437 views | 5 replies |

acornistBeta Tester

still struggling with sandbox

using eCart 6.0.5/Dreamweaver CC/MacOSX Mavericks

The last update seemed to help on a lot of fronts, but I am still unable to make it work with PayPal sandbox. It continually reports that the Security Header is not valid (error code 10002).

Using a regular PayPal account, everything seems fine. I have ensured that the credentials are all correct. I'd be grateful for any suggestions/direction you could offer.

response below:
Full Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string"></Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2014-03-07T12:16:59Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">c3153be6cdcf9</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Security error</ShortMessage><LongMessage xsi:type="xs:string">Security header is not valid</LongMessage><ErrorCode xsi:type="xs:token">10002</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">63.0</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">9917844</Build></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Sign in to reply to this post

Jason ByrnesWebAssist

the response back fro paypal is:

Security header is not valid

this happens if the API creadentials are not correct.

Be aware that ewhen using the sandbox, you need to havce seperate API credentials.

the live API credentials will not work in the sand box.

you need to request sandbox api credentials from paypal, then enter them in the webassist -> eCart -> Payment Gateway Credentials screen.

Sign in to reply to this post

acornistBeta Tester

I have a live account and a separate sandbox account. I'm quite sure I'm using the proper credentials from the sandbox account. I have checked and double checked that.

In the PM, I have copied the credentials. I think you'll see they match the request (also part of the PM). The request looks a little strange (a closing subject tag, but no opening that I saw, for example), but I'm no expert about this.

Sign in to reply to this post

Jason ByrnesWebAssist

the Security header is not valid means that paypal is not accepting the API credentials.


if you are sure you have the correct credentials entered, than make sure that you have accepted the billing agreement.

sometimes paypal just generates bad credentials, and you need to request new ones.

Sign in to reply to this post

acornistBeta Tester

Not sure what billing agreement you mean. I've cruised through the sandbox store settings and don't see a billing agreement. Everything seems pretty normal and complete.

I've gotten new credentials, killed and restarted sandbox accounts. Very frustrating, particularly since I have to have a test site setup for prospective customers of my client to use. I can't easily get around not having a sandbox store.

Sign in to reply to this post

Jason ByrnesWebAssist

when you request sand box credentials, there will be a billing agreement that you need to accept, if you have not accepted the billing agreement, the credentials will not be valid.

if you need help getting the agreement, contact paypal support.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...