If a referral code was invalid or unrecognized, it was silently failing the entire checkout — meaning real customers couldn't complete a purchase. The sale now goes through cleanly regardless.
- Customers are never blocked from buying due to a referral code issue
- Valid referral codes still work and get credited as expected