hi
can you provide the URL so I can see how the page is coded - it maybe at the backend that is the issue but might as well start here.
richard
HI Checco
It could be to do with either your gSession plugin (has it been properly configured - Configuration and System events (this is what is loaded after the ’Add to Cart’ is clicked and the page refreshes); or the gCart snippet (which again is called on the page refreshing and calls the gCart.inc.php file to process what the gSession and gCart code have captured to place into the gCartTpl and gItemTpl chunks).
It seems that the gCart.inc.php file (which processes and prepares the cart/item information for displaying) is working as you have the page showing the empty - therefore the line
if(!$_SESSION["tempCart"]) return $gParams[’gEmptyTpl’];
will be run and not the code that follows to list any items - I would therefore be inclined to look at a possible issue with the gSession plugin.
Let me know how you get on or what you have found (or not).
Richard
Thats OK - good to hear that you’ve got it working.
Paypal is something different to Google.
With Google you ’just’ send a load of data to it with all the information (item name, cost, shipping, etc) PayPal doesn’t (well not what I experienced with it’s Express option). You need to send a request to Paypal with your details and it send back a token, then you send this token with the order details at which point the user/buyer will see a Paypal login screen, once they have logged in and clicked Continue in PayPal they will then be re-directed to your site (with the URLs you sent them), when they return to your site you can get their shipping details and their ID/email address, the buyer should be presented with the Checkout screen on your site where they can Confirm the order at which point your site will send the appropriate data back to Paypal and it will send back a response to confirm whether it suceeded (which it does with all responses) and things like a Transaction number.
So you can see that Paypal is a bit more of a beast.
I’m considering putting the code that I’ve put together somewhere - not sure when, how and where at the moment.
Richard