PHP Shop

Discussion in 'PHP' started by dean5000v, Jan 27, 2009.

  1. #1
    hey well i have been programming PHP for quiet a long time now, and the time has come for me to code my own shop. I was thinking how hard would it be to pass the variables holding the price and details into a checkout like paypal for the order to be processed ?
     
    dean5000v, Jan 27, 2009 IP
  2. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Danltn, Jan 27, 2009 IP
  3. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oo thanks for the reply, so it will easily be able to take the details such as price, name, postal address, item ect and process them ?
     
    dean5000v, Jan 27, 2009 IP
  4. higreg7

    higreg7 Peon

    Messages:
    469
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I don't know about PHP, but I recently developed this flash cart, and sending the info to paypal is the easy part. The hardest is to keep track of your cart. There are about 600 lines of code in this application, of which only about 20 for sending the vars to paypal.

    If you want to have multiple categories, with multiple items in them, you need to use arrays in flash, I think you can use arrays in php too.
     
    higreg7, Jan 28, 2009 IP
  5. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yeah i know how to use arrays and all that i just wondered if paypal will only allow you to send the price and description to the paypal ipn. where as i will need it to send the address details aswel ?
     
    dean5000v, Jan 28, 2009 IP
  6. higreg7

    higreg7 Peon

    Messages:
    469
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
  7. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks for the link, that link is just for passing the variables to the customers sign up page, but i need a way for me to receive there delivery details once they have payed. ?

    so will paypal be able to collect the Invoice Address and the Delivery Address ? how would i go about doing this.
     
    dean5000v, Jan 28, 2009 IP
  8. higreg7

    higreg7 Peon

    Messages:
    469
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    higreg7, Jan 28, 2009 IP
  9. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    thanks alot just what i was looking for, just wanted to know if i can pass the delivery details to paypal with item and cost and i can with those vars :D
     
    dean5000v, Jan 28, 2009 IP