Very Simple Shop

Discussion in 'Payment Processing' started by theplastickid, Aug 3, 2009.

  1. #1
    How difficult is it to set up a simple paypal shop on a site.

    All I need is a drop down but to select the size and color and a buy button that goes straight to paypal.

    Anyone know of any good tutorials that'll show me how to implement this?

    Thanks :cool:
     
    theplastickid, Aug 3, 2009 IP
  2. kingsoflegend

    kingsoflegend Well-Known Member

    Messages:
    202
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Generate the buttons on your paypal account and get their source code for email payments. Your button code should look like this: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=####### where ####### is your button's unique ID number.

    Your code for the dropdown should be something like this:

    <form action='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick' method='get'>
    <select name='hosted_button_id'>
    <option value='#######'>Product 1</option>
    <option value='#######'>Product 2</option>
    <option value='#######'>Product 3</option>
    </select>
    </form>

    Again, replace ####### with the button IDs.
     
    kingsoflegend, Aug 3, 2009 IP
  3. theplastickid

    theplastickid Well-Known Member

    Messages:
    261
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    Excellent thank you very much for this. Very helpful.
     
    theplastickid, Aug 3, 2009 IP