+ Reply to Thread
Results 1 to 5 of 5

Thread: paypal submit problem and email form?
      
   

  1. #1
    Tristan is offline Corporal
    Join Date
    Nov 2005
    Posts
    17

    Default 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?

  2. #2
    Tristan is offline Corporal
    Join Date
    Nov 2005
    Posts
    17

    Default

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

  3. #3
    Brad's Avatar
    Brad is offline Forum Administrator
    Join Date
    Jun 2005
    Location
    Wilmington, Delaware
    Posts
    525

    Default

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

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

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

    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)



  4. #4
    Tristan is offline Corporal
    Join Date
    Nov 2005
    Posts
    17

    Default

    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>


  5. #5
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    Default

    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
    07031847328 / United Kingdom

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

    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)



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Email Forms
    By Anonymous in forum Forms
    Replies: 37
    Last Post: 03-05-2006, 10:18 PM
  2. An email form problem
    By christian_woman in forum General Support Issues
    Replies: 3
    Last Post: 09-26-2005, 02:10 AM
  3. cPanel email problem
    By Lisa in forum Email Problems (POP, SMTP & Webmail)
    Replies: 14
    Last Post: 07-18-2005, 03:24 PM
  4. Email links problem - help !!!!
    By bounce in forum General Support Issues
    Replies: 1
    Last Post: 06-16-2005, 07:12 PM

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49