As mentioned keychain is a good tool to store passwords. When it comes to things like creditcards etc my absolute favorite app is 1 Password.
If you only want to store a creditcard it might be a bit overkill to get 1 password, but it has a lot of nice features.
- auto generate passwords and auto film it in on registration forms.
- works with safari and Firefox and can auto fill username and passwords for your sites.
- you can store items like db access, server access etc setup with all the unique info you need for each type.
- iPhone app that can sync via wifi or dropbox.
This is just a summary over the most important stuff. It's also a very polished app that's nice and easy to use.