paypal submit problem and email form?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Tristan
    Corporal

    • Nov 2005
    • 17

    paypal submit problem and email form?

    Here's the problem with my paypal submit. The customer fills out an email form and when they submit it goes to a new page - I've used the php script on the tutorial. My question is, how can I get them back to the paypal submit button on the previous page?
  • Tristan
    Corporal

    • Nov 2005
    • 17

    #2
    I just want to add a bit more. I would like a few seconds delay before it goes back.

    Comment

    • Brad
      Forum Administrator

      • Jun 2005
      • 525

      #3
      I am sorry i dont understand exactly what you want. please re-explain.

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      • Tristan
        Corporal

        • Nov 2005
        • 17

        #4
        Okay, say someone fills out my form (contact.html) After submitting the form it takes them to the next page (contact.php) and tells them I've recieved it. The problem I have is that they still have to pay with the paypal button and that button is on the previous page. How can I get them back to the contact.html page?

        Here is the script I've used.

        <HTML>
        <HEAD>
        <TITLE>Succesfully processed your order</TITLE>
        </HEAD>
        <BODY>
        <H2>Thanks for your order!</H2>

        <?PHP
        $email = $HTTP_POST_VARS[email];
        $mailto = "
        order@example.com";
        $mailsubj = "Enter Your Subject Here";
        $mailhead = "From: $email\n";
        reset ($HTTP_POST_VARS);
        $mailbody = "Values submitted from web site form:\n";
        while (list ($key, $val) = each ($HTTP_POST_VARS))
        {
        $mailbody .= "$key : $val\n";
        }
        mail($mailto, $mailsubj, $mailbody, $mailhead);
        ?>
        </BODY>
        </HEAD>

        Comment

        • VodaHost
          General & Forum Administrator

          • Mar 2005
          • 12356

          #5
          You should make them pay first..Paypal has a feature that alows you to redirect them to any page you want after the payment is made.

          VodaHost

          Your Website People!
          1-302-283-3777 North America / International
          02036089024 / United Kingdom
          291916438 / Australia

          ------------------------

          Top 3 Best Sellers

          Web Hosting - Unlimited disk space & bandwidth.

          Reseller Hosting - Start your own web hosting business.

          Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


          Comment

          Working...
          X