Simple reoccurring paypal payment plugin


My client has changed their brief a little and now require a system that can record their Agents codes with new subscriptions of the software they are offering.

Currently i have just created a subscription button in Paypal and pulled the code across. This does allow different variations of product and price but will not allow to add the agent code that is then automatically emailed to the site owner so they can supply the software. Is there a simple payment solution/plugin that can be added site side (opposed to paypal sending the info after the transaction is made) that i can install that will allow the user / agent to add their agent code?

I just need to get the agent code to the site owner so they can get their cut of the sale.

Many thanks.