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.

Coskun Olcucu
4,562 Pointsmy paypal button doesn't work.
When i hit the button ,i am getting error message.Even though i created the button as it was directed.

Ted Sumner
Courses Plus Student 17,967 PointsYou need to post your code to get any meaningful help. Please refer to the Markdown Cheatsheet for formatting instructions.
The PHP course may be difficult if you do not have a strong background in HTML. Depending on your experience, the Front End Web Design or the Web Development tracks may be a better place for you to start.
2 Answers

Coskun Olcucu
4,562 PointsHere is my paypal code:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="<?php $product["paypal"] ?>"> <input type="hidden" name="item_name" value="<?php $product["name"] ?>"> <table> <tr> <th> <input type="hidden" name="on0" value="Size"> <label for="os0">Size</label> </th> <td><select name="os0" id="os0"> <?php foreach($product["sizes"] as $size){?> <option value="<?php echo $size ?>" ><?php echo $size ?> </option>
<?php }?>
</select> </td></tr> </table> <input type="submit" value="Add to Cart" name="submit">
</form>

Coskun Olcucu
4,562 PointsError Detected
Error Message Some required information is missing or incomplete. Please correct your entries and try again.
I filled out all of the required fields,but still button doesn't work.
Coskun Olcucu
4,562 PointsCoskun Olcucu
4,562 Pointswhat other information should i fill out to get it work?