500 Error on ppconfirm.php page
After completing PayPal payment, I'm getting a 500 Server Error when I hit the ppconfirm.php page. I added the error_reporting(E_ALL) line, but no more info was provided. Any thoughts how to resolve this?
After completing PayPal payment, I'm getting a 500 Server Error when I hit the ppconfirm.php page. I added the error_reporting(E_ALL) line, but no more info was provided. Any thoughts how to resolve this?
Your store cart summary and store cart details in database server behaviors are corrupt. It looks like they were created by running the checkout wizard without a working connection to the database. They will have to be reapplied.
Okay, will do. I also want to store customer info in a separate table. Should that Store Details server behavior come after the eCart details?
You could just apply another store cart summary in database server behavior for the users table. It wouldn't really matter the order.
Thanks. The client is leaning toward a customer back-end so returning customers could log-in to have their shipping info automatically populate the form and maybe eventually show an order history. Can I do this with just one customer table?
If I'm using such a table, how do I get the cust_id for the Orders Summary?
If you are going that route the easiest thing is to force registration or login before checkout. Then store the customer id in the session during login.
I think that's down the road. So currently, I should insert a Store Cart Summary for customers. How do I get that ID for the order summary?
You could use their email address as the ID so that if the same email address is used it updates the record instead of inserting a new one. Or just use an insert into table instead of store cart summary into database if you want to insert a new record every time.
The previous site used the record ID from the customers table, so I followed that path and set cust_id to the customer_ID session variable. I'm closer - it now goes through PayPal (although the payment doesn't seem to be immediately recorded) but when I am sent back to the site, I get this error "Column 'cust_id' cannot be null"
What next?
Go to the database and update that column to allow null.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.