Say, "You're welcome a billion!". Just kidding, don't say that. A very polite way of responding to this would be to say, "You're welcome, I hope you had a good one!" or "Anytime, I hope you had fun!".
There are many things you can say. "Thanks a million" is just basically saying "thank you very much".