SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Wizard
    Join Date
    Dec 2004
    Location
    At My Desk!!
    Posts
    1,642
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PayPal and PHP shopping cart!

    I have a shopping cart that i have written, all the info is pulled out of the Db and displayed on page. I then want a pay button and then the user can pay the $TotalAmmount. How can i do this.

    Thx in advance

    P.s i know that i need an acount and stuff like that, im not talking about the basics, i need to know how to use variables and stuff using the payapal stuff.
    "Am I the only one doing ASP.NET in Delphi(Pascal)?"

  2. #2
    SitePoint Zealot
    Join Date
    Jan 2005
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is just sending form data to a script on the PayPal server.

  3. #3
    SitePoint Evangelist dmsuperman's Avatar
    Join Date
    Feb 2005
    Location
    A box
    Posts
    516
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have the form submit to the paypal site, then have it check for the payment recieved message, then if it is there add them to the sendlist.
    <(^.^<) \(^.^\) (^.^) (/^.^)/ (>^.^)>
    Core 2 Duo E8400 clocked @ 3.375GHz, 2x2GB 800MHz DDR2 RAM
    5x SATA drives totalling 2.5TB, 7900GS KO, 6600GT

  4. #4
    SitePoint Wizard REMIYA's Avatar
    Join Date
    May 2005
    Posts
    1,351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use the i-Kobo service they provide a buy button.

    Also the difference is that i-Kobo offers payment in more than 170 countries, while PayPal only 47.

    And they have 24 hour live customer service

    For more information visit their site: i-Kobo

    Hope that helps.

  5. #5
    SitePoint Wizard
    Join Date
    Dec 2004
    Location
    At My Desk!!
    Posts
    1,642
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    paypal offer the paypal button, but they seem to need a fixed price in the price section whereas i need to have it stored in a variable.

    dmsuperman,

    "Have the form submit to the paypal site, then have it check for the payment recieved message, then if it is there add them to the sendlist."

    Amm, i dont understand?
    "Am I the only one doing ASP.NET in Delphi(Pascal)?"

  6. #6
    SitePoint Addict paypalrb's Avatar
    Join Date
    Jan 2005
    Location
    San Jose, CA
    Posts
    265
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could have a hidden form on the page, with no amount defined. Then, when the user clicks to submit their order (using whatever buttons/links you have set up on your page), you can populate the amount value and submit the PayPal form POST.

  7. #7
    SitePoint Wizard
    Join Date
    Dec 2004
    Location
    At My Desk!!
    Posts
    1,642
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well thx for the help, but i have managed to do it. thanks again
    "Am I the only one doing ASP.NET in Delphi(Pascal)?"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •