close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not understanding

Thread began 2/16/2016 9:50 pm by Warrio | Last modified 2/25/2016 12:41 pm by Ray Borduin | 1539 views | 19 replies |

Warrio

Not understanding

I created a very simple local checkout on one site, no fields just hard coded data with a single button which worked.

I copied over to another site and it worked when submitted to the sandbox

I then opened the local checkout server behaviour to start mapping to fields.

NO changes were made to the behavior just closed it and submitted it.

Now i throws an error, the only thing done was to open and close the server behaviour

Sign in to reply to this post

Ray BorduinWebAssist

The key error is:
Security header is not valid

this means the username, password, or signature are not correct. Perhaps it didn't keep the sandbox setting and it is submitting to the live server now. That would explain the issue since they use different credentials.

Sign in to reply to this post
Did this help? Tips are appreciated...

Warrio

Thanks Ray, I've actually removed the variable from the page and hard coded use sandbox to "true".

I'll do it again and see what happens

Cheers

Sign in to reply to this post

Warrio

I went to gateways and made the sandbox log in both test and non test the same.
Tested again and it failed.

copied the page to another site and it works!

Any idea?

Cheers
Norman

Sign in to reply to this post

Ray BorduinWebAssist

I'm thinking it is submitting to the live server, so updating both to the sandbox wouldn't help.

Try getting and using live credentials.

Sign in to reply to this post
Did this help? Tips are appreciated...

Warrio

Hi Ray,

it worked sending it to PayPal, the question now is why the test setup works in one site and not the other.
Why would site 2 not be using the sandbox url when I've hard coded

$PP_DirectPayment_required[0][$nextIndex] = "UseSandbox";
$PP_DirectPayment_required[1][$nextIndex] = "true";

the only other file is require_once("WA_eCart/Adv_CO_Scripts/PP_DirectPayment_PHP.php");

Sign in to reply to this post

Ray BorduinWebAssist

I think maybe it is supposed to be:

$PP_DirectPayment_required[1][$nextIndex] = true;

Sign in to reply to this post
Did this help? Tips are appreciated...

Warrio

I made a copy of PP_Direct Payment and replaced the same file from the working site.

FIXED!

Sign in to reply to this post

Warrio

Hey Ray,

The only way I can get the sandbox to work with the local checkout is to hard code the authentication details into the page.
If I use the gateway include, it comes up with.

LongMessage xsi:type="xs:string">Security header is not valid</LongMessage>

It's trying to send it off to PayPal not Sandbox

Any ideas

Cheers

Sign in to reply to this post

Ray BorduinWebAssist

If you send me FTP access and a URL where I can debug it then I can test and debug to figure out what is going wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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...