One simple solution that works but it is not very elegant. Is to generate vouchers using a2billing, and then sell the vouchers using oscommerce, then the customer can use the voucher to add credit to his account using the a2biling customer ui.
A better method but more complicated, is to somehow relate the oscommerce user to the a2billing account, and add the credit directly, the email address could be used for this purpose but the problem is that if the customer has several account with the same email address, another option would be in oscommerce to have a field in which it is the a2b account to which the refill is being made, and deposit the credit directly onto that account once payment has been made.
I believe that from an implementation point of view using the email address could be a good idea within its limitations, since it is in common to both a2b and oscommerce.
If someone has better ideas on how to implement in oscommerce it would be a good idea to voice your opinion.
|