Each friend has 7 days from signing up to complete the steps. You can see each friend's deadline in your referral hub.
If your friend made a payment before the deadline and it's still being processed, it can still count once it completes. If the steps aren't completed in time, the status changes to "Deadline passed" and that friend is no longer eligible for a referral reward. Your other invites aren't affected. This can't be changed or extended.
Tip: you can remind your friend of their remaining steps before the deadline. See What does my friend need to do for me to earn a referral reward?