This contribution will add an additional customer attribute called “account balance”. The customer can view his/her balance by clicking the link “view/change my account settings”. The store owner can change an individual's account balance through the customer edit function.
This module is activated as an order total module. The way I setup this module is so that it is calculated after tax, shipping, low order fees have been added. The account balance is subtracted from this subtotal to determine a billable total. After the sale, the customer's account balance is adjusted accordingly.
Legend: 
Download

Report
An der Installation ist soweit keine Änderung vorgenommen worden.
lediglich wurde die catalogincludesmodulesorder_totalot_account_balance.php
abgeändert.
Sowie die Texte in Deutsch ergänzt.
Gewährleistung wird keine Übernommen.
Weitere Infos gibt es unter:
http://forums.oscommerce.de/index.php?s=&showtopic=51992&view=findpost&p=257065
Inklusive der Guthaben-Anzeige im Kunden Konto.
Macht bitte immer ein Backup. Keine Gewähr.
Hi,
Sorry to pee on the bonfire, but I am having problems with V3.
I have set up a forum so we somewhere to work out the bugs!
Go to:
http://forums.oscommerce.com/index.php?showtopic=153392
Thanks
Will
(P.S. - I had to attach a file. Its just a link to the forum)
A new version of this great contrib.
Lot of bugs corrected;
Some corrections have been made in setup.txt
Adding an history table of account balance
Now, when you delete an order you can select an option to credit an account balance.
Tell me if you found bugs
Enjoy,
Big
This is a modification of new version of this great contrib!
Modiffied:
* The value of balance is shown in the format of the predeterminate currency in the catalog and admin zones.
* Added the spanish language
* Install.txt updated with another minor modifications
This is a new version of this great contrib!
* Corrected the error with the "cannot send..." message
* in account_edit.php the amount of balance appear if it is not null
* add a column in admincustomer with the amount of balance
* add a new install.txt file
* added the SQL statement in a file and changed it
* add a translation in french
* the customer balance aprear in invoices just if not null (it wasn't the case before)
I will post some adds on if you have installed Edit_Order and Cancelled_Order
This is the full package of course! :-)
Enjoy,
Big
I have not tested this out, but the changes are few. The order total says "0.00" instead of NULL. The module is not available if order total is zero, NULL, or negative. I used the last release that I (Teddy Caddy) submitted as my base for this set of changes.
This is a quick mod I whipped up to make a good script great.
It displays the customer's account balance in the main account page.
Also, the script is configured to display 0.00 for the customer's balance if their balance is NULL in the database. This is useful because the balance is set to NULL when customers register and with the stock contributions it will come up blank.
The Included files are replacements for:
catalog/account.php
catalog/account_edit.php
----------------------------------
I originally copied the cod.php payment module and renamed it to "pay from account balance", with the intent that people whould choose it when they had enough balance to cover their purchase.
Standard-issue humans being what they are, a lot of people chose that payment option when checking out, even though they had nothing in the balance... So why not hide this payment option when the customer's total is more than their balance?
This payment module is the result, it automatically checks the customer's current total against how much they have in the balance, and enables or disables the display of the option accordingly.
Probably can be cleaned up quite a bit, I am not 100% sure how well it would work with other order_total modules, you might need to duplicate some of the extra modules functions in here (ie low order fee and any other discounts, to get an accurate match)
I left an instruction out about how to alter the /catalog/admin/customers.php.
This contribution is identical to the last except for the README files.
This contribution will add an additional customer attribute called “account balance”. The customer can view his/her balance by clicking the link “view/change my account settings”. The store owner can change an individual's account balance through the customer edit function.
This module is activated as an order total module. The way I setup this module is so that it is calculated after tax, shipping, low order fees have been added. The account balance is subtracted from this subtotal to determine a billable total. After the sale, the customer's account balance is adjusted accordingly.