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
Priscilla Kam
1,086 Pointsintegrate paypal payment gateway into the php cart
Hi
what should i do if i want to click add to cart button , then add product and show in paypal for each item with different price and quantity, and proceed to confirmation page?
1 Answer
Alexander Smith
2,769 PointsI'm not sure I understand exactly as paypal offers a few ways of handling things for merchants. One is where you basically let paypal handle it all (you add the product and it's info on their side instead of on yours for processing). Another is all they do is handle the transaction of funds.
If the latter you want to look into their API(they offer a sandbox for testing ;)). For the former you basically use a button with a link they give you and just copy and paste the html.