Web Design Forum: PayPal intergration to website? What is involved? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PayPal intergration to website? What is involved? Rate Topic: -----

#1 User is offline   pbul2004 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 552
  • Joined: 25-January 10
  • Reputation: 7
  • Gender:Male
  • Location:Warrington
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 07 April 2010 - 10:39 AM

Hi,

I have a client who is requesting a paypal option on his website. His site is selling Canvas Art, eg you email your picture and he prints it on canvas.

He just wants an option for customers to pay online with PayPal.

How easy is this to do? There are no specific products, so i imagine there would be a few drop down menus: -

Canvas Size
Type of Wrap
Type of Frame
Type of canvas
Price (this would automatically need to change depending on what options are selected above)
PAY WITH PAYPAL

This is just a guess, but if anyone has any suggestions on the best way to do this that would be great. He told me its just copy and paste 2minute job???!?

Cheers
Paul
0

#2 User is offline   nellyshark 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 531
  • Joined: 03-November 07
  • Reputation: 12
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:Entrepreneur

Posted 07 April 2010 - 10:48 AM

Haha, If he told you that then he should copy and paste it himself. Im not as good coding as people here but is this https://www.paypal.c...847e9b5572143b9 what you are looking for?

View Postpbul2004, on 07 April 2010 - 10:39 AM, said:

Hi,

I have a client who is requesting a paypal option on his website. His site is selling Canvas Art, eg you email your picture and he prints it on canvas.

He just wants an option for customers to pay online with PayPal.

How easy is this to do? There are no specific products, so i imagine there would be a few drop down menus: -

Canvas Size
Type of Wrap
Type of Frame
Type of canvas
Price (this would automatically need to change depending on what options are selected above)
PAY WITH PAYPAL

This is just a guess, but if anyone has any suggestions on the best way to do this that would be great. He told me its just copy and paste 2minute job???!?

Cheers
Paul

0

#3 User is offline   pbul2004 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 552
  • Joined: 25-January 10
  • Reputation: 7
  • Gender:Male
  • Location:Warrington
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 07 April 2010 - 12:56 PM

No a fatal error is not what im looking for!

I dont think it even has to be that complicated.

Something that just directs the customer to pay for an item or to direct them to paypal.
0

#4 User is offline   nellyshark 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 531
  • Joined: 03-November 07
  • Reputation: 12
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:Entrepreneur

Posted 07 April 2010 - 01:07 PM

Lol I just copied a link :D

Try this link https://www.paypal.c...t-intro-outside

or google

paypal add to cart button and use first link.

View Postpbul2004, on 07 April 2010 - 12:56 PM, said:

No a fatal error is not what im looking for!

I dont think it even has to be that complicated.

Something that just directs the customer to pay for an item or to direct them to paypal.

0

#5 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 10 April 2010 - 04:07 PM

View Postpbul2004, on 07 April 2010 - 10:39 AM, said:

Hi,

I have a client who is requesting a paypal option on his website. His site is selling Canvas Art, eg you email your picture and he prints it on canvas.

He just wants an option for customers to pay online with PayPal.

How easy is this to do? There are no specific products, so i imagine there would be a few drop down menus: -

Canvas Size
Type of Wrap
Type of Frame
Type of canvas
Price (this would automatically need to change depending on what options are selected above)
PAY WITH PAYPAL

This is just a guess, but if anyone has any suggestions on the best way to do this that would be great. He told me its just copy and paste 2minute job???!?

Cheers
Paul


Buy now button are the quickest way, but from my experience they totally kill your conversion rates as they look ameurish and naff.

Personally, I'd be generating a shopping cart on your site and sending this to paypal in one go. Yes, you're still using paypal, but its a lot better than awful buy now buttons.

I'd say the quickest option would be paypal website payments standard, with an IPN callback. To make things simple store all your product attributes in your cart table (as really you don't need to send all these - although you could if you really wanted by appenidng them to the description field for each product). In the custom field add something the session id (so you can reference the cart in your IPN script) and the uploaded picture use custo field would contain "gdfjksgdhfgsdgf327t-myPicture.jpg", which could be split using PHPs explode function during the IPN script.

E.g. on your site during the checkout pages generate all your paypal hidden fields and then the whole carty gets posted to paypal.

In yourt IPN callback script you populate the order header and order items tables, as well as sending confirmation emails to the store owner and customer.

Honestly, talk him out of Buy now buttons and the paypal shopping cart (your shopping is maintinaed on the paypal site). Customers want to add items to a cart as they browse, not leave the site everytime a item is added.

Paypal integrations can be done well (E.g. you spend a little time on them) or awfully (E.g. a '2 minute job'). Choose the former :)
0

#6 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 10 April 2010 - 04:10 PM

View Postnellyshark, on 07 April 2010 - 01:07 PM, said:

Lol I just copied a link :D

Try this link https://www.paypal.c...t-intro-outside

or google

paypal add to cart button and use first link.




Again, another way to kill conversion rates. From what I can gather, using the link you posted, everytime I want to add an item to my cart I'm forced to go to paypal. If you I want to update cart quantities I have to go the paypal site. You want customers staying on your site, not leaving it every 2 seconds to complete simple operations. Buy now buttons only work for purchasing on off products or services, not the sort of store where you maintain a shopping cart.
0

#7 User is offline   pbul2004 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 552
  • Joined: 25-January 10
  • Reputation: 7
  • Gender:Male
  • Location:Warrington
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 10 April 2010 - 06:28 PM

View Postrallport, on 10 April 2010 - 04:07 PM, said:

Buy now button are the quickest way, but from my experience they totally kill your conversion rates as they look ameurish and naff.

Personally, I'd be generating a shopping cart on your site and sending this to paypal in one go. Yes, you're still using paypal, but its a lot better than awful buy now buttons.

I'd say the quickest option would be paypal website payments standard, with an IPN callback. To make things simple store all your product attributes in your cart table (as really you don't need to send all these - although you could if you really wanted by appenidng them to the description field for each product). In the custom field add something the session id (so you can reference the cart in your IPN script) and the uploaded picture use custo field would contain "gdfjksgdhfgsdgf327t-myPicture.jpg", which could be split using PHPs explode function during the IPN script.

E.g. on your site during the checkout pages generate all your paypal hidden fields and then the whole carty gets posted to paypal.

In yourt IPN callback script you populate the order header and order items tables, as well as sending confirmation emails to the store owner and customer.

Honestly, talk him out of Buy now buttons and the paypal shopping cart (your shopping is maintinaed on the paypal site). Customers want to add items to a cart as they browse, not leave the site everytime a item is added.

Paypal integrations can be done well (E.g. you spend a little time on them) or awfully (E.g. a '2 minute job'). Choose the former :)



Thanks for the in depth reply mate, yeah dont think i will be going with the buy it now buttons. Regarding the add to cart you mentioned is this what you are refering to? >

https://cms.paypal.c...l_shopping_cart

The guy im doing the site for is getting a little frustrated and annoyed as he seems to think its just copy and paste And from your reply it seems really hard, i have never done this before. Do you have a link or anything to guide me through it?

His website is http://www.canvas-pa.../sizeprice.html

I was thinking of adding another column in the table with an option to add to cart for each row???

Just lots of things im not sure of how to do! Where do i start, if you add 4 items to a cart and your still on the website how to you then get to checkout and pay for the items, is this a another button?

Confused lol :help:

Thanks for the info, much appreciated!
0

#8 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,816
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 10 April 2010 - 09:25 PM

View Postpbul2004, on 10 April 2010 - 06:28 PM, said:

Thanks for the in depth reply mate, yeah dont think i will be going with the buy it now buttons. Regarding the add to cart you mentioned is this what you are refering to? >

https://cms.paypal.c...l_shopping_cart

The guy im doing the site for is getting a little frustrated and annoyed as he seems to think its just copy and paste And from your reply it seems really hard, i have never done this before. Do you have a link or anything to guide me through it?

His website is http://www.canvas-pa.../sizeprice.html

I was thinking of adding another column in the table with an option to add to cart for each row???

Just lots of things im not sure of how to do! Where do i start, if you add 4 items to a cart and your still on the website how to you then get to checkout and pay for the items, is this a another button?

Confused lol :help:

Thanks for the info, much appreciated!


Nope, you're sending the whole cart to paypal in one go. It works similar to a buy now button - sending hidden fields to paypal, except your sending more fields. Once the payment has been taken, paypal auto sends a response back called IPN or instant payment notification - in the form of secure POST. In this script you'd then do all your backoffice stuff like updating your orders table, saving the paypal response, payer id etc.

There are scripts you can download for this, but I'm yet to find one that is up to date and works as it should.

If you've never done it before, I'd recommend you go and paypal's documentation on IPN variables and how to send a full shopping cart to paypal - all is explained in theor documenation.

You can try and do it without reading, but imo you really do need to underatand whats going on, what each piece of data means etc.

As said, its NOT a quick 2 minute job like your client says.

In all honesty the basic principal id easy and if you understand PHP the IPN processing/checking isn't anything overly confusing. However, if you haven't read the IPN variable reference you'll be making it a lot harder for yourself, as nothing will make sense :)
1

#9 User is offline   pbul2004 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 552
  • Joined: 25-January 10
  • Reputation: 7
  • Gender:Male
  • Location:Warrington
  • Experience:Nothing
  • Area of Expertise:Web Developer

Posted 12 April 2010 - 08:38 PM

I asked the bloke to set up a paypal business/merchant account, i get this reply: -

Paul,opened paypal business account but will have to wait 3 days to be official. Your API access - user id- x-x-x-x password- x-x-x-x

If i am following >
https://cms.paypal.c...l_shopping_cart

I am going to do it the "naff way" as I am not getting paid for the extra work so want a quick job.

Will this be what he has set up? Or has he set it up to do it the complicated way you talked about?

What is an API logon? Wont i need his paypal login details to set up all the products within paypal then generate the html for them and then stick that html in his site? Is this how it works doing it the "naff way" Im confused

Cheers
Paul
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users