Pets are bought from the in-game Cash Shop with NX, MapleStory's real-money currency — not with the gold you farm. So the practical steps are: top up NX through the official site or a legitimate retailer, open the Cash Shop in-game, and pick the pet you want.
If a purchase won't go through, the cause is almost always an account or payment issue rather than your computer. Check your balance and contact Nexon support if it persists.