annddrew Posted October 30, 2009 Posted October 30, 2009 Hi, I'm new to OSC, Php, and Paypal but I tried a payment as a logged in user with "Express Checkout". I was redirected to Paypal where I logged in and clicked on "Continue" button then Paypal redirected me back to the checkout_shipping.php page which in turn redirected me to login.php although I was already logged in! The code in checkout_shipping.php that redirects me to login.php is: if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } Can anybody tell me is this the correct behavior? if not why is it that the test tep_session_is_registered('customer_id') returns false? I read somewhere in the documentation the following sentence about the expected behavior: -If a logged in customer clicks on "Checkout," they're taken to the shipping page with a "Paypal Express Checkout" button at the top. If they click on the "Express Checkout" button, they'll be taken to Paypal where they'll choose a shipping address and payment method, then be sent back to the checkout shipping page to choose a shipping method. From there, depending on your settings, it'll either go to checkout payment hiding the other payment options but displaying other modules, like CCGV, or to checkout confirmation to complete the order. Clearly this is not what I experienced. Please any idea? Thanks Quote
FaZeD82 Posted December 30, 2009 Posted December 30, 2009 I've also had this same issue, I've read through a number of posts now and no one seems to have an answer for this one. It seems as though the session is lost when you go to paypal and back and you end up at the login.php . Any idea's? Quote
FaZeD82 Posted January 3, 2010 Posted January 3, 2010 I simply removed Paypal express checkout and installed paypal standard module... works fine now. Who knows!!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.