If you give someone a nice gift so that the person might like you, then it's like bribing the person and you have the wrong motivation. But if you give solely to make the receiver happy, then even if the person doesn't like and rejects the gift, you wouldn't mind. This is giving with the right motivation. Genuine giving is giving without expecting any reward, and God will reward you. It follows that genuine love is not affected how we are treated by others. Look at Jesus. Some of us love him, some of us don't care about him, and some even hate him, but he loves us all just the same.