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

Python

Django Payments

Hi ,

I would like to know which would be a better option for integrating with Paypal , using html buttons or Rest API.

Also , what would be better for integration paypal or Stripe.

Regards Vaibhav

1 Answer

Ricky Catron
Ricky Catron
13,023 Points

Stripe already has its own python library and it works great. Just be sure everything is over HTTPS instead of HTTP as well as all other security is implemented and Stripe is the best bet because you can customize it in so many ways. Paypal is easy and secure but so limited the last time I used it.