Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Build a Simple PHP Application Integrating with PayPal Creating a Paypal Account

If developing for a client, whose responsible for paypal settings, etc?

So if you are creating a store for a client, is setting up the paypal settings and configuration something you do together, or something the client should have some knowledge about? Obviously, we don't ask for their username and password and go about this by ourselves, right? I'm genuinely curious how a typical scenario would go down.

2 Answers

Brian Hayes
Brian Hayes
20,986 Points

I find that if I have a need for an ID token and API credentials, then unless my client has a tech savvy person on their end, I just ask for their account info, or a temporary login. Also, I have yet to have a client with someone tech savvy enough to get me that info. Usually once they here me say "API" they default to "you do it." They usually just want it taken care of without getting their own hands dirty. Which is fine since that's basically why I'm there in the first place.

I'm actually working on a eCommerce/eLearning site for a client who wants to begin with simple paypal integration with WooCommerce and then add other gateways later. So, as of now the site is completely paypal dependent. In this case I used the ID Token and API credentials mostly to be able to process refunds from within the WooCommerce admin section. This is a pretty common set up in the world of WordPress sites, so you may not be able to get away with just the paypal email.

Sue Dough
Sue Dough
35,800 Points

Hi it depends on the client I think. Some are tech savvy and some are not. Some may already have a PayPal account and some may have never used PayPal. Most PayPal gateways I have encountered only ask for the PayPal email if your taking payments off site. So most of the time there shouldn't be too much configuration.