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 7651895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:37:15+00:00 2026-05-31T11:37:15+00:00

I am not getting any response by Google Checkout: I have the sample code

  • 0

I am not getting any response by Google Checkout:

I have the sample code from http://code.google.com/p/google-checkout-php-sample-code/downloads/list .

I am using this code in cartdemo.php:

 // Specify <edit-cart-url>
  $cart->SetEditCartUrl("https://mydomain.com/checkout/demo/responsehandlerdemo.php");

  // Specify "Return to xyz" link
  $cart->SetContinueShoppingUrl("https://mydomain.com/checkout/demo/responsehandlerdemo.php");

And I am using following settings:

API callback URL (Level 2 integrations only) [?]
Specify a URL for Google to notify you of new orders and changes in order state. [?]
API callback URL:

Callback contents: http://mydomain.com/checkout/demo/responsehandlerdemo.php

**Notification Serial Number**

but not getting any response,after completation of payment.
I have also changed the settings with “Notification as XML” by using https.
actually the application require to integrate simple google checkout functionality.Which will have an checkout button and after successful payment the order history with payment detail will save in my database.

I don’t know what is missing.
is there any way do implement it simply using 1-2 files not so bulky code?

thanks

  • 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-31T11:37:16+00:00Added an answer on May 31, 2026 at 11:37 am

    The code you have above doesn’t have anything to do with getting data from Google after completion of payment (Notification API).

    The code you have above is for the Checkout API which is the flow that involves sending your shopping cart data to Google.

    1. edit-cart-url is the url that is displayed to the customer on checkout if they want to go back to your site instead of placing the order/continuing with the checkout process.
    2. continue-shopping-url is the link presented to the customer to go back to your web site after successful checkout.

    You have to implement the Notification API (of which one option is serial number notification) to obtain data from Google. The url to your handler is set in your account (same place where you see the options you mention above).

    If you want to see sample PHP code (I’m not a Php dev, am .Net) for a handler that implements serial number notification, see basicapiresponshandlerdemo.php

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

Sidebar

Related Questions

So my code is below. I'm not getting any errors and it places everything
SO I am getting a response from the google translate API's like this: {\responseData\:
I'm not getting any errors as such just a minor performance issue. EXPLAIN SELECT
I have been reading up on Cloud computing on here and still not getting
I have some python code for Google App Engine that responds with the string
Update: since I'm not getting any answers, I've rewritten the entire post using a
I'm new to Google Checkout, I went throw the examples but still have some
I actually posted this question to pjsip mailing list, but did not get any
I am not getting why the colon shifted left in the second time >>>
For some reason I'm not getting this. (Example model below) If I write: var

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.