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?

    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.

      paldo;11064463 wrote:

      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[sup]*[/sup] ... 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)...

      [sup]*[/sup]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....

        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.

          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.

            8 days later

            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.

              Write a Reply...