Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3951112
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:41:27+00:00 2026-05-20T01:41:27+00:00

I am in the process of implementing Google Checkout in an e-store. Once customers

  • 0

I am in the process of implementing Google Checkout in an e-store. Once customers click the ‘Google Checkout’ button, my project requires that they are able to navigate back to the e-store to possibly edit the cart. Customers should be able to click the ‘back’ button, type in the URL to my cart page, or click the ‘edit’ link from Google.

At the same time, I need to clear the cart and provide customers with a blank slate as soon as they click the confirmation button on Google’s side. I am already listening for a new-order-notification from Google, but this does not always arrive quickly enough to prevent customers from returning to the e-store and scratching theirs heads as to why their carts still show the items they just purchased.

Have any Google Checkout implementors come up with a novel solution to this problem? Any ideas are appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:41:28+00:00Added an answer on May 20, 2026 at 1:41 am

    I’ve done this using 2 different approaches, neither properly fulfils your requirement of handling the back button AND clearing the basket if they complete the order, but they’ve worked for me in practice without any complaints.

    First approach: clear the basket and provide way of reconstructing it via query string in the “EditCartUrl” Google Checkout request parameter. Then, when the customer clicks the edit basket button their basket is reconstructed. The back button, however, does not work in this situation.

    Second approach: don’t clear the basket, but (optionally) make it read-only before redirecting to Google Checkout. We do this so that the basket record cannot be changed while they are within Google Checkout. If they then click back, or edit cart, a NEW basket is created on our site (cloned from the original) each time. This provides support for the back button, but will only provide the customer with a cleared basket if the order has gone through and we have processed the request before they return to the site.

    Making the basket read-only is optional – we do it so we can preserve the basket record to match the resulting order from Google Checkout. If you don’t require this, it’s as simple as not clearing the basket.

    The second approach has done me fine for the last few years without any complaints from customers. I’d rather the customer be able to click the back button than worry too much about them seeing the basket not empty itself after checking out using Google.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently implementing a program that requires me to handle threads and process.
Am in the process of implementing a fairly conventional shopping checkout flow. Currently it
I'm implementing a process elevation helper for Windows. It's a program that will run
I'm in the process of implementing a workflow in Sitecore, and for that I
We are in the process of implementing a CMS for our project which currently
I am in the process of implementing several tagging fields on my website that
I'm implementing a system that runs game servers. I have a process (the game
I am in the process of implementing an upgrade to my small website that
I'm in the process of implementing caching for my project. After looking at cache
I am in the process of implementing jQuery, and taking out Prototype libraries in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.