Paypal & Forms

Discussion in 'HTML & Website Design' started by Mesoc, Apr 18, 2007.

  1. #1
    I want to sell article submission service. How can I go about putting in a few questions (need the article, URLS, and anchor text) to be sent with the payment?
     
    Mesoc, Apr 18, 2007 IP
  2. missdanni

    missdanni Guest

    Best Answers:
    0
    #2


    <!-- START SAMPLE PAYPAL FORM  -->
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin: 0px">
    	<input type="hidden" name="cmd" value="_cart">
    	<input type="hidden" name="business" value="your@email.com">
    	<input type="hidden" name="item_name" value="Your Item Name">
    	<input type="hidden" name="custom" value="">
    	<input type="hidden" name="return" value="http://your-domain.com/thanks-payment.htm">
    	<input type="hidden" name="no_note" value="1">
    	<input type="hidden" name="currency_code" value="USD">
    	<input type="hidden" name="quanity" value="1">
    	<input type="hidden" name="add" value="1">
    	<input type="hidden" name="amount" value="35.00">
    
    <!-- START COMMENTS LINES -->
    <input type="hidden" name="on0" value="Extra Comments">Enter Item Comments:<br>
    <TEXTAREA ROWS="4" COLS="17" name="os0">
    </textarea><br>
    <!-- END COMMENTS LINES -->
    <!-- Repeat The Above To Ad More Text Fields -->
    
    <input type="image" src="picts/cart-add.gif" border="0" name="submit" alt="Add to Cart" vspace="4"><br>
    
    </form>
    <!-- END SAMPLE PAYPAL FORM -->
    Code (markup):
     
    missdanni, Apr 19, 2007 IP
  3. Dizmatic

    Dizmatic Peon

    Messages:
    111
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can setup the form to get the data and then use a redirect <input name="redirect" type="hidden" value="http://paypalpage.htm">

    The redirect can go to the page where you have a paypal button for the customer to make a payment. I would note on the initial forms page that this is a two step process.
     
    Dizmatic, Apr 19, 2007 IP