Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Build a Simple PHP Application Integrating with PayPal Creating Paypal Buttons

Barry Deck
Barry Deck
4,016 Points

Why is it that when I use the code for the button in a page called form.php, it isn't read by my 2014 browsers?

Paypal's experiential flows have been re-done as well. I was still able to get through the exercise, and the code it gave me to paste in was the same as yours. So far, though, I have no button to test by selecting a size and clicking, therefore I haven't been able to test the shopping cart. Will this hamper my ability to finish this segment or the site?

Barry Deck
Barry Deck
4,016 Points

Also, the code shows all in white in Sublime Text. What do I need to do to make it work with today's code and browsers?

Chris Shaw
Chris Shaw
26,662 Points

What is the code you're using as PayPal's buttons have no issues with any browser given you're using IE7+

Barry Deck
Barry Deck
4,016 Points

Thanks, Chris. All fixed. It was a missing tag.

1 Answer

Hey Barry, have you made sure you have a PHP tag at the beginning of the file: <?php

Barry Deck
Barry Deck
4,016 Points

Dustin, yep, you were right! Thanks.