I need a php script that can be intergrated with WHMCS

1. Needs to be able to store login information for newegg.com (Gateway Module??)
2. Prompt User for either the part # or name and retrieve one or the other from newegg.
3. Retrieve Price from newegg and insert it into an order form on whmcs
4. Needs to create a new payment profile on newegg bassed on info provided by whmcs
5. Place the order and ship to me
6 Factor in Labor costs on the whmcs invoices
7.foward the newegg invoices to the customer