close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Problems setting up PayPal Sandbox

Thread began 3/19/2018 12:02 pm by s.joiner74419001 | Last modified 3/23/2018 10:35 pm by s.joiner74419001 | 874 views | 17 replies


I hadn't updated the PHP version from 5.2 so I updated to PHP 5.6 and It has solved part the issue.

Now it enters the the Sandbox test environment OK. Unfortunately it isn't processing correctly.

So I make the payment using a 'buyers sandbox test account' and once submitted it directs to 'pp_confirm.php' ( which is the page in the return URL in the 'confirm.php' file.

But I get this error message displayed in the browser:

"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Wilshire,Spitalfields Arts Market, 112 Brick Lane,,NULL,London,London,E1 6RL,GB,' at line 1"

I refresh the browser and then get the checkout-failure page with strange results in the dump session ( see attached file ).

But what is strange is that if I swipe back it brings up the 'Payment has complete page'. I check the Sandbox accounts and the payment has gone through.

I wondered if I should be directing to the pp_confirm page and not the success page so I tried this and changed the return URL in the confirm.php file to the checkout_success.php page. It redirected fine and displayed the cart receipt. but the payment did not process in the sandbox accounts.

I'm now very confused.

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





Ease of use


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