Finished the referrals system but it appears stripe does not allow application of the same coupon multiple times.