Hiya, have written a couple of modules for HB, one being a decent Realex / Global Payment module supporting tokenisation, refunds etc.
If capture_token() returns a string, instead of just true, it's supposed to save the string as a token, but it doesn't. If you look at the capture_token() you're over-riding from the TokenPaymentsModule class, you'll see that theory is correct. Along with some other bugs I've found and reported, Kris doesn't seem interested in fixing this.
I've got the encrypt/decrypt routines out for CC data, but would rather call a method further up the class tree that actually works rather than directly manipulate the database, but can't seem to find it anywhere, any ideas?