Form query

Discussion in 'PHP' started by le007, Feb 3, 2012.

  1. #1
    Hi all,

    I need advice on something.

    I want to display an item on my website to purchase with a paypal buy now button.

    Before they customer buys, I need their name, address and contact details.

    Can someone advise as to how I can accept those details before they pay now and know who paid for what on my paypal?


    I basically need their details before they pay and I need to story them - please advise.
     
    le007, Feb 3, 2012 IP
  2. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    Could really do with some help here. I always help people out with CSS posts on here so hoping that a PHP'er can do the same for me.
     
    le007, Feb 3, 2012 IP
  3. GoldSEO

    GoldSEO Member

    Messages:
    280
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    33
    #3
    Just use Paypal checkout, no? They have to fill in all their data. I'm pretty sure you can even withhold getting actual funds from them until you verify everything is right with their information and product purchased. This isn't really a coding matter
     
    GoldSEO, Feb 3, 2012 IP
  4. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Hi GoldSEO,

    You're right, it's not coder - but I didn't know where else I could find the info after a long google search.

    I would like the customer to either their data on a form on my site first and literally just go to paypal to pay - any suggestions?

    Thanks!
     
    le007, Feb 3, 2012 IP
  5. bogi

    bogi Well-Known Member

    Messages:
    482
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    140
    #5
    I don't really understand what you want to do. Maybe it's better to use postbacks (or IPN how PayPal named it) in this case and get any data you need once they made the purchase.
    This way they don't even need to fill in their address, phone number etc (i.e if they have a PayPal account -- if they use credit cards, they have to submit these infos of course).
     
    bogi, Feb 5, 2012 IP
  6. le007

    le007 Well-Known Member

    Messages:
    481
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #6
    Hi there,

    I suppose the easiest way is to make everyone just register and the have a BUY NOW button. At least that way, I will have their information from when they register.

    Thanks to you all for your help
     
    le007, Feb 5, 2012 IP