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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:11:26+00:00 2026-05-26T06:11:26+00:00

I have an order form where a user gives some input about a product

  • 0

I have an order form where a user gives some input about a product and when s/he submits the form s/he will receive an email which contains product specification.

Basically the website provide Logo designing services.

Here products are : 3 Logo Mockups, 5 Logo Mockups, 7 Logo Mockups and 10 Logo Mockups, not any tangible product like(other shopping cart offers).

Now, I have created a PayPal Buy Now button using paypal account for that product and want to send an email(which contain product specification that s/he had already filled before click to Buy Now button) to the customer as well as redirecting them to the appropriate product checkout page generated by PayPal.

Paypal Buy Now button code is:

<form id="logo-design-paypal-form" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="46J7HLDHY7TBE">
    <table>
        <tr>
        <td><input type="hidden" name="on0" value="Logo Design">
            Logo Design</td>
        </tr>
        <tr>
        <td><select name="os0">
        <option value="3 Logo Mockups">3 Logo Mockups $50.00</option>
        <option value="5 Logo Mockups">5 Logo Mockups $120.00</option>
        <option value="7 Logo Mockups">7 Logo Mockups $350.00</option>
        <option value="10 Logo Mockups">10 Logo Mockups $650.00</option>
        </select>
        </td>
        </tr>
    </table>
    <input type="hidden" name="currency_code" value="USD">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

  • 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-26T06:11:27+00:00Added an answer on May 26, 2026 at 6:11 am

    If I understand your question correctly, earlier, you created a form with a normal submit button. If a user enters all the input and clicks submit, you would send him an email. Right now, you replaced the normal button with a PayPal submit button and you wants that PayPal button to invoke the sending email function just like the old button. If that’s what you want to do, you can try this way:

    <div id="paypal_button">
        // wrap your encrypted paypal button in a div
    </div>
    
    // PayPal button is actually a form so you can make a script like the following
    
    <script type="text/javascript">
        $("div#paypal_button > form").submit(function() {
    
            // Call your sending email function here (maybe by using Ajax)
    
        });
    </script>
    

    EDIT: if you don’t want to bind onclick event to the PayPal button itself, I think you should use this Ajax plugin to submit your original form (i.e. don’t use normal submit because the user would be redirected to the page in action attribute and it’d be more difficult to achieve what you want).

    <form id="original_form" action="somePage">
        ...
        <input type="submit" value="Submit" /> 
    </form>
    
    <div id="paypal_button" style="display:none">
        // wrap your encrypted paypal button in a HIDDEN div
    </div>
    
    <script type="text/javascrip">
        $(document).ready(function() {
            // submit your original form to send the email and redirect the user on success
            $('#original_form').ajaxForm({
                success: function() { 
                   $("div#paypal_button > form").submit();
                }     
            });
    
        });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an order form with about 30 text fields that contain numerical values.
I have a 'Purchase Order' class. It contains information about a single purchase order.
I have a user input form here: http://www.7bks.com/create (Google login required) When you first
I have a form where the user will select a date range, and then
I have inherited a project, that provides an order form to a customer. The
In handling a form post I have something like public ActionResult Insert() { Order
I have a order list and I want to generate and rank the product
Let's say I have an Order table which has a FirstSalesPersonId field and a
I would like to get some nested params. I have an Order that has
I have next tables Order , Transaction , Payment . Class Order has some

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.