Affiliate Software Integration

We are trying to integrate our prosites with an affiliate software we just got here: and the problem that we have found is that since you guys generate the paypal buttons dynamically, it is missing a component that the affiliate software needs.

OSI affiliate has said that normally when you create a hosted paypal button in the backend of your paypal account, it has this line of code:
<input type="hidden" name="hosted_button_id"

However the prosites generated paypal button does not have such a line. OSI Affiliate requires this for their sales tracking to work. Here is the lines of code that I have already added to this page:

OSI Affiliate lines added:
<input type="hidden" name="notify_url" value="">
<script language="JavaScript" type="text/javascript" src=""></script>

Currently the sales are not tracked by the osi affiliate software. What should we do? Please advise. Thanks.