Gift certificate codes for Movie Star Planet are typically obtained by purchasing a gift card through official retail channels, which is region-dependent — availability varies from country to country.
The most reliable way to get a valid code is to buy an official gift card from a store or authorized seller in your region, then redeem the code on the site. Be cautious of any "free code" sites, which are usually scams.