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

E-Commerce and PHP

Anybody know of any good resources on how to connect to various e-commerce platforms / payment gateways like PayPal, Skrill, etc.? I am trying to find a good intro to start incorporating these in my own PHP apps. PayPal's API reference is like greek to me.

5 Answers

Hi Travis Coats

I know what you are saying, API Docs can be overwhelming! Here is a video about my proposed solution for your question. Stripe.com

This should help get you started as well as give you a small test project to play around with.

There are a lot of document pages and examples that are mentioned in this video. Here are those and a few extras for your viewing pleasure.

Stripe Main Page

Stripe Registration

Stripe Dashboard

Stripe Checkout Docs

Stripe Test Cards

Stripe PHP API Library

Stripe PHP Example Page

Hampton's Github Project

Have fun! Hampton

Wilt Chaimberlain
STAFF
Wilt Chaimberlain
Treehouse Guest Teacher

The Build a Simple PHP Application course covers PayPal integration. That should help get you started!

Hi Travis,

This track will teach you how to do that with PayPal. Build a Simple PHP Application

Jeff

I got the button approach, but I am looking for a way without buttons using the API. I am planning on creating functionality for subscriptions, direct payments, and purchases - preferably something I can reuse in other apps. From what I gather, a lot of these kinds of functions are available using curl, but the amount of required data for PayPal specifically is ridiculous to interpret without a good knowledge of the system.

Hi, I watched this video and had a quick question that I posted in forum earlier last week: https://teamtreehouse.com/forum/php-the-stripe-api-video-question . If someone can help me with this, it will be really helpful. I've been trying to find a solution on Google, but no luck. Any help appreciated!