PHP Based Billing Page

Discussion in 'PHP' started by maxgates, Apr 12, 2009.

  1. #1
    Hi Guys, I have very little knowledge of PHP. I need a PHP based billing page with fields like Name, Address, Date Of Birth, Email, Birth Time, Suggestion.

    And I want form to be mailed to my preferred email ID. Also i want it to redirect to paypal on submitting the form. Can somebody tell me the script to do that.

    I have created a Add To Cart Button on Paypal where I want form redirect to.

    <form target="paypal" 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="4672599">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>

    Please help me. Thanks
     
    maxgates, Apr 12, 2009 IP
  2. weboweb

    weboweb Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have a look around for PayPal IPN scripts. You can hook into PayPal's system and receive fairly detailed information about each transaction (including the details you mentioned) directly from PayPal after the transaction completes.
     
    weboweb, Apr 12, 2009 IP