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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Leigh Maher](https://secure.gravatar.com/avatar/65e61aecf1cd4b211397f743c49a2927?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Leigh Maher
21,830 PointsWhat if you use a hosted payment page?
If the payment page is hosted on the payment gateway, would you still need an SSL?
2 Answers
![Luke Pettway](https://secure.gravatar.com/avatar/f6f35162320dd32e6a5704d9b02232e0?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Luke Pettway
16,593 PointsTypically if you are not hosting or transmitting any payment data but instead you are using a third party such as Paypal to process the payment then you do not need SSL. If a user was submitting their data on your website and then it was being sent to a payment gateway then you would have to worry about having a certificate.
Example 1 - You don't need SSL:
The user visits your website, they click on a product and add it to the cart. They click the BUY button and they are forwarded to a payment page hosted on PayPal. Paypal handles all of the CC processing.
Example 2 - You need SSL:
A user visits your site, selects a product and proceeds to checkout. They create an account, put in their information, and confirm everything then submit their data to place the order. Your website itself takes the data and posts it to the payment gateway.
Hope that makes sense!
![Leigh Maher](https://secure.gravatar.com/avatar/65e61aecf1cd4b211397f743c49a2927?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Leigh Maher
21,830 PointsGreat. Thanks Luke.