Whether it was done online or in person, it is imperative to have your friend give you a gift letter with his/her:
1. Name
2. MP mailing address
3. MP number
4. Cell phone number in case there is a problem
5. Signature
When you are equipped with a gift letter (without consideration) containing the above information, then you should overcome any problem at check-in, if any.