prosite and affiliate collaboration

Hi Guys,
Some questions with prosite play along with affiliate .

I have 2 types of subscription setup on prosite. Free and paid.

Day 1, user A refer user B to my website. User B sign up a Free subscription.

Day 2, user B upgrade to paid subscription.

Will user A still get the referral fees?