By the way, I think your tama thought you were gonna donate 12,000 gp but when you donated 5000 you got the pass for the ring.
The other gp is still in record so no need to pay 12,000 next time, just donate 6,999 and you get another password.
No, the shopkeeper codes are for some other set of codes, if you want to get your passport and whatnot from TamaTown, You have to go to "Passwords" located under "Shop".
When you're there, press the middle button so that 10 zeros come up. Suppose your passport code is 43293 23419(it isn't this...