PayPal implementation
Results 1 to 7 of 7

Thread: PayPal implementation

  1. #1
    absolute beginner
    Join Date
    Oct 2005
    Location
    switzerland
    Posts
    101

    PayPal implementation

    I have a webpage with a shopping cart with different items in PHP.

    When buying from my shop, the script calculates the total, in my case $total. I didn't install any Paypal buttons, but I linked $total to my PayPal.me account. The buyer gets a mail with my paypal.me/my_username_at_paypal/$total, when clicked on it he will be redirect to paypal and can pay. Unfortunately he can only pay if he has a paypal account. Some clients don't want to open a paypal account and cancel the order.

    My question is: is there a way to automatically link my shopping cart to paypal without installing a paypal shopping cart?

    Any tips, hints?

  2. #2
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Running Gear"
    Posts
    22,544
    I recall buying things via Paypal without having an account; so yes, there is a way (depending on what "automatically" is supposed to mean - but I don't think anyone was sitting at a terminal taking my order personally at that precise moment).

    I also recall Paypal has documentation describing their services and how to access them. And that I didn't like how it was written, as if it was biased towards pushing me toward using a service that the didn't actually provide.
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  3. #3
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    8,525
    Quote Originally Posted by paldo View Post
    I didn't install any Paypal buttons
    Just curious, why is this?

    If I remember rightly (it's been a few years), the PayPal button would accomplish what you wish to do with less complexity (sending the link to PayPal via email sounds a little weird* ... certainly more complex).

    Again, if memory serves, there was an option (Maybe called "Simple $something") to send them PayPal and PayPal would return them to your site with a code that informed you of the pass/fail status of the purchase so you could address them properly ("Thanks!" or "Do you wish to try again?" sort of thing)...



    *The only reason I think of, off the top of my head, is because you want to validate their email address? At any rate, I can't think of any site I've ever used that did it this way....
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  4. #4
    absolute beginner
    Join Date
    Oct 2005
    Location
    switzerland
    Posts
    101
    Thanks Dalecosp. You are right, PayPal allows you to create a shopping card with paypal buttons, but I have already a shopping cart done by me in php. What I need to know is if it is possible to install a pay now button that will redirect to paypal. My PHP form calculates the total of the purchase which is for example $total= 100$. This amount should on the paypal invoice sent to the client.

  5. #5
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Location
    Accelerating Windows at 9.81 m/s....
    Posts
    8,525
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

  6. #6
    absolute beginner
    Join Date
    Oct 2005
    Location
    switzerland
    Posts
    101
    Bingo, thank you Dalecosp, I think you have found what I was looking for. I will let you know and eventually ask you some more questions. For the moment I don't close this thread yet, I wait until my script is running properly.

  7. #7
    LaravelApprencticenewb
    Join Date
    Oct 2017
    Location
    South Africa
    Posts
    4
    I just recently added paypal for one of my clients , i dont know if they have upgraded since your issue but i found no such problem everything was a straight run through.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Posting Permissions

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