We have created a shopping cart system already in my PHPFOX site. You will need to:
1. Create a new page under member's MY SHOP entitled PAYPAL SETUP. On that page you will have a section for user to put their paypal information for accepting credit card payments. User will be able to update that information at will.
2. My PHPFOX Site will receive confirmation from Paypal after order is complete, and my server will email the shop owner (member) notifying them of the order.
3. When receive paypal IPN success on order complete, you will have the total purchase price of the order put into a new database table. Under ADMIN in PHPFOX, you will have a new link under PRODUCTS which says ORDERS. For that ORDERS page, you will list the information from the orders table, including unique_id, timestamp, member (shop owner) and total price charged. THIS MUST ONLY BE ORDERS THAT ARE CONFIRMED BY PAYPAL SYSTEM. Do not place order into table until confirmed order by paypal.
4. Create ADD TO CART button for all products in member's shop ONLY if paypal information has been entered by that member in their paypal settings page.
This project will establish a shopping cart payment system via paypal to accept credit cards and other forms of payment, and using paypal cart system.