Multiple submit process pages from single form?

Discussion in 'PHP' started by sumitt_2004, Mar 26, 2009.

  1. #1
    Hi,

    I am using a FORM to send information to PAYPAL for payment. I also want to get this information at my email ID as well. Could someone please help me in this?

    Right now I am using :

    <form action="paypalsubmitpage" method="post">

    Thanks in advance,
    Sumit
     
    sumitt_2004, Mar 26, 2009 IP
  2. elias_sorensen

    elias_sorensen Well-Known Member

    Messages:
    852
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Uhm... Tough one... What I would do, is to first submit the form with an ajax script, return false, and when the ajax request has run, then form.submit.
     
    elias_sorensen, Mar 26, 2009 IP
  3. sumitt_2004

    sumitt_2004 Peon

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot for your quick reply! I will try this if I got solution I will you know here! Thanks again!

    SEO Company Australia
     
    sumitt_2004, Mar 26, 2009 IP
  4. javaongsan

    javaongsan Well-Known Member

    Messages:
    1,054
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    You can look at Paypal's IPN
     
    javaongsan, Mar 26, 2009 IP
  5. jazzcho

    jazzcho Peon

    Messages:
    326
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Elias 's way is tested. That 's the way to do it.
     
    jazzcho, Mar 27, 2009 IP
  6. bhagwant.banger

    bhagwant.banger Active Member

    Messages:
    99
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    60
    #6
    Yeah definitely you should first write some javascript to receive the submit then through AJAX send an EMail to required email id and then submit the form to paypal with javascript
     
    bhagwant.banger, Mar 27, 2009 IP