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! While you're at it, check out some resources Treehouse students have shared here.

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 Paypal Buttons

Geoffrey Neal
Geoffrey Neal
30,298 Points

I'm missing some of the code shown in the video when creating a button, does the type of registration affect this?

I am missing the entire line of code containing the hosted_button_id, including the value shown in the video that was used as a reference for the product. I have been playing around with this and in the video the business was registered as a clothing retailer whereas I registered an account as a service provider, I still want to offer multiple products on a website and I'm wondering whether the reason for the missing code is because as a service provider you wouldn't offer tangible items per se. Can anyone help me understand this?