jozwikjp
Expert
Friendly Neighbour
Member Likes (0)
Hello,
Quick question..
Trying to understand the process, so I can get the script working with our setup..
So I checkout.. Goto paypal, Pay.
Then am redirected back to my site.
This paypal post something in the background like the supporter gateway to a particular script?
Or does it post the data directly to /checkout/ url?
When I returned back to the site after paying all my address info was gone. And it seems like I lost my spot..
I am trying figure out if it was a cookie or data that did not get passed back..
Thanks

Responses (5)
Member (joined August 2010) Likes (0)
After I click on confirm at paypal..
It shows all the correct data for the company I am paying.
But when I end up back at the
http://backtoback.e-store.me/store/shopping-cart/confirm-checkout/?token=
It keeps on saying "Whoops, looks like you skipped a step! Please go back and try again."
I am just trying to figure out what that means.
Does it mean possible that the order was supposed to be stored in a session or something?
Was that session supposed to be stored in a cookie or in the database some how?
Thanks
Member (joined August 2010) Likes (0)
Ok it is stopping at
line 606 of template-functions.php
if (empty($_SESSION['mp_payment_method'])) {
Member (joined August 2010) Likes (0)
$_SESSION['mp_payment_method'] = 'manual'; //so we don't get an error message on confirmation page
Does this mean it isn't storing the data in the session handler?
Does it use the token or PayerID to retrieve the session info?
When I return to the site it still has my shipping info.
Also noticed that if I remove 1 item from the cart it does not seem to stick.. However if I empty the cart it does stay emptied. I am not sure if there is a connection there. Like if cookie info for the session..
Member (joined August 2010) Likes (0)
And I solved it..
it was a cookie issue.
Varnish rule
# Shopping Cart
if (req.http.Cookie ~ "mp_cart") {
return(pipe);
}
pipe instead of pass..
I know Aaron this is why varnish sucks :-)
Member (joined April 2009) Likes (0)
Heh,
Was fun to read through your process though ;)
Glad you got it sorted!
Become a member