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 a Paypal Account

Matthew Smart
Matthew Smart
12,567 Points

Do we need to create a paypal account?

Do we need to create one as we follow the tutorial or can we just watch and use the code, because obviously i wont be using this website for real, or should i just follow step by step and create it.

3 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Matthew,

If you don't wish to create a real account you can use the PayPal developer platform which runs everything in a sandbox mode allowing you to simulate transactions, subscriptions etc.

https://developer.paypal.com/

Matthew Smart
Matthew Smart
12,567 Points

i dont mind creating one, as long as its ok to do so with this tutorial. Im just thinking if im setting tax stuff to the same as this tutorial will I be ok as no body is actually buying from it

Chris Shaw
Chris Shaw
26,676 Points

The developer sandbox doesn't require any tax details, credit card info or anything like that, it's all 100% simulated and generally the platform will yield the same results as the real checkout system.

Bob Sutherton
Bob Sutherton
20,160 Points

The only problem with this solution is how the he#$ do you set up a paypal sandbox account? Here is a tutorial I found on YouTube for setting one up but you have to already have a paypal account.

https://www.youtube.com/watch?v=e4uOIrfuw5o

Matthew Smart
Matthew Smart
12,567 Points

i dont mind creating one, as long as its ok to do so with this tutorial. Im just thinking if im setting tax stuff to the same as this tutorial will I be ok as no body is actually buying from it

Gerald Veeneman
Gerald Veeneman
9,832 Points

To follow the lessons at Teamtreehouse you don't need to create a PayPal account. However it would be a good practice to make us of the sandbox account as Chris Upjohn stated.