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 Using PHP with MySQL Limiting Records in SQL Queries Using LIKE

How can I add paypal payment system on my website?

I created the website on this class "Using PHP with MySQL" and used a shopping cart template but I don't know how I can add paypal payment system. Which course is teaching us how to do that?

5 Answers

Hey Kohane Kagami , In treehouse there was a course available for students on ecommerce website which now hidden from students but the course still exist here https://teamtreehouse.com/library/build-a-simple-php-application which help you in understanding paypal integration.

Cindy Lea
PLUS
Cindy Lea
Courses Plus Student 6,497 Points

You can use Paypal, but you will need to probably use the code they provide you for free to create a shopping cart. You might be able to substitute parameters & use yours.... I did this once a while ago & after you type in details, they give you code to paste into your html code. I think you will need separate code for every item you sell so it goes into shopping cart correctly & they provide that. I remember it being pretty easy. I think its under development tools somewhere in PayPal.

Hi. Naoufal, I took the course but the teacher didn't teach me how to integrate paypal. Maybe you are talking about a different course.

Oh that's very nice. Thank you very much Naoufal!! I really appreciate it. :)

Also thank you for the response Cindy!