Im migrating a walled garden access point system for pre-pay internet access to drupal. I currently have a few hundred accounts who have purchased various amounts of credit for the service. I would rather not have to manually log in to each account, and send them a redemtion code, or some such thing, in order to provide them with their credits when we move to the new system, and I am trying to find some seamless translation strategy.
What i am doing now is this. I have roles set up, for prepayed service, and you can buy products in 5 dollar chunks. These, as I bet you know, come up in the ec_transaction and ec_transaction_product tables. Currently, I have a custom freeradius module that i have written that extracts the amount of credit that they have from the table, and uses that to calculate their remaining credit.
The bugger is that i need some way for an initial value to be assigned to each account. One way that I have been considering is to simply write a transition script that imports the user accounts, and then generates transactions for each of the accounts, that are not billed, but exist only on the transaction table. the point being to generate an entry on the table that my radius module finds and gives them credit for, without putting real transactions through the system, or resorting to the redemption code thing.