Hello,
I installed a fresh the (latest bs-) oscommerce and configured Paypal. Everything is working (order is processed, order status set, email send) but Paypal returns to an empty cart.
Of course I added PDT, set checkout_process in the return url
(Indeed, if the PDT is not entered into the configuration, the checkout_process doesn't load at all with an error).
I have no idea how to proceed. the only way the checkout confirmation.php is shown is when changing
checkout_process.php;
// if there is nothing in the customers cart, redirect them to the shopping cart page
if ($cart->count_contents() < 1) {
// tep_redirect(tep_href_link('shopping_cart.php')); }
tep_redirect(tep_href_link('checkout_success.php')); }
But this should not be the right way. It seems that the cart is emptied somewhere and then forwarding the user to the empty cart.
Any hints? Thank you!