close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

pp_confirm.php not inserting records

Thread began 3/09/2018 11:27 am by MAURIANS | Last modified 3/11/2018 10:08 am by Ray Borduin | 1691 views | 10 replies |

MAURIANS

pp_confirm.php not inserting records

PAYPAL receives "payments" but once "customer" is redirected to "confirm" and update PHP MYSQL Database following error is given:

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 ( ** INFORMATION GIVEN BY PAYPAL **) at line 1 - See private message...

I have search through the threads and couldn't find any solution to fix this error,

Sign in to reply to this post

MAURIANS

Originally Said By: MAURIANS
  PAYPAL receives "payments" but once "customer" is redirected to "confirm" and update PHP MYSQL Database following error is given:

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 ( ** INFORMATION GIVEN BY PAYPAL **) at line 1 - See private message...

I have search through the threads and couldn't find any solution to fix this error:

See Private message  
Sign in to reply to this post

Ray BorduinWebAssist

It looks like the server behavior has columns specified as numbers where they are actually text. Update the Store Cart Summary in Database and Store Cart Details in Database server behaviors on that page and make sure that columns that aren't numeric are properly specified as "Text"

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

MAURIANS

This is what I have in database fields..

Sign in to reply to this post

Ray BorduinWebAssist

The issue is in the server behaviors on the php pages, not the database itself.

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

MAURIANS

I am going to do another test and dumb $_SESSION if this works to see what the problem...

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of the pp_confirm.php file and I can tell you where the issue is. I think you just have to update the Store Cart Summary in Database server behavior on that page.

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

MAURIANS

Originally Said By: Ray Borduin
  The issue is in the server behaviors on the php pages, not the database itself.  
Sign in to reply to this post

Ray BorduinWebAssist

Go to the Server Behaviors window and double click on "Store Cart Summary In Database" Then click through all of the columns on the second tab and set them to "Text" instead of "Number" for any columns that should have text in them.

You will have to do the same thing for the "Store Cart Details in Database" server behavior because I see they are set incorrectly there as well.

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

MAURIANS

Thank you, Woot working small bug only but a few data entries in shipping info (Name, Phone, Fax) not being inserted.

Do you have a list of paypal php mysql field varibles like paypal->fullname...

Sign in to reply to this post
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...