SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Location
    Poole, Dorset, United Kingdom
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How To Keep Refreshing Page After Form Submit With PayPal

    Hi All
    Not sure how to do this, I am submitting an order page to paypal which opens paypal checkout in another window.
    On the submit button of my form I need the page to keep loading the main parent window say ever 5 seconds so it can check when the order goes through via IPN
    and update the page.

    The form only submits on the submit button so I wont keep sending the data.

    Any help would be great
    Steve

  2. #2
    SitePoint Enthusiast
    Join Date
    Oct 2011
    Location
    Canada,Montréal
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <meta http-equiv="refresh" content="5000"> this will make the page refresh every 5 seconds if im not mistaken.

  3. #3
    SitePoint Wizard Lats's Avatar
    Join Date
    Jun 2003
    Location
    Melbourne, AU
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by claimore22 View Post
    <meta http-equiv="refresh" content="5000"> this will make the page refresh every 5 seconds if im not mistaken.
    That's actually around 3 1/2 days :-)

    Try...
    Code:
    <meta http-equiv="refresh" content="5">
    Lats...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •