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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:35:24+00:00 2026-05-26T19:35:24+00:00

Everything Cut Short: Need to execute a function after around 5 minutes after a

  • 0

Everything Cut Short:
Need to execute a function after around 5 minutes after a request sent by Google Checkout’s Notification Service.

Why: The History API requires the transaction to be atleast 5 min old to work.

What has been tried, suspending teh function by sleep, but it generates a TIMEOUT error at google’s end.

Main Concern: The function must run, even if the user navigates away from page, reloads the page, or closes his/her browser or logout from the Site..

Tried, Google but not of much use..
Any Ideas??

  • 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-26T19:35:25+00:00Added an answer on May 26, 2026 at 7:35 pm

    This sounds like a job for cron. Here’s a possible implementation outline:

    1. When Google sends a Checkout Notification, record the notifcation details and timestamp in your database.
    2. Setup a script to be run by cron. The script will check the database for new Checkout Notifications that are at least 5 minutes old.
    3. The script will then access the History API for those matching records and then mark those records in the database so that they won’t be accessed again the next time the cron job runs.

    The cron job can be set to run at any interval you like. The lower the interval, the more quickly History API requests will be made as Checkout Notifications hit the 5 minute age. Your cron script can record the result of the History API request in your database so that your web interface can retrieve it and show it to the user.

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

Sidebar

Related Questions

When I want to implement ViewModel I should cut everything c# code from my
To cut a long story short, my project (an iPhone app) was all working
I want cut out everything inside (tags included) from text, for ex: [url=http://example.com]something[/url] but
I'm trying to cut a chunk of text down to around 30 characters. If
So after several Advil's I think I need help I am trying to make
So after several Advil's I think I need help I am trying to make
i need to chop off a 'double' so that he'll have 3 digits after
When I read the xml through a URL's InputStream, and then cut out everything
I want to recreate the iOS folders effect. Everything works fine, but I need
Everything inherits from object. It's the basis of inheritance. Everything can be implicitly cast

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.