Quick question before I dive into the code..
Does MP keep records of all received and send planets ?
Payments
Moderators: Wabbitface, Jocy, steeffeen, NADEO
Re: Payments
For anyone interested in this subject. Dived into the code and it seems there's no history kept.
Re: Payments
nope there's no payments history
Re: Payments
When I look at the MC code.. it seems there's no way to intercept ALL payments and bills, is that correct ?
The only way to collect ALL payments and bills is to edit the BillManager.php. Is that correct ?
The only way to collect ALL payments and bills is to edit the BillManager.php. Is that correct ?
Re: Payments
So apparently the billmanager.php needs to create a new callback that a plugin can pick up and handle upon.
Since I don't have that much time to figure out how this is done within MC I've edited Billmanager.php to create a .csv document with all the payments and bills.
If anyone is interested, just drop me a note..
Cheers,
Charly
Since I don't have that much time to figure out how this is done within MC I've edited Billmanager.php to create a .csv document with all the payments and bills.
If anyone is interested, just drop me a note..
Cheers,
Charly
Re: Payments
Hi Kremsy!
Well.. yes
I did use the Billmanager so I could get to all the information of a transaction. But if a callback would provide all the information (billnr, amount, receiver/donator, message (with message I mean the variable "message" that is used with payments) then I would very much prefer that.
Merry christmas Kremsy!
Well.. yes

Merry christmas Kremsy!
kremsy wrote:
We could implement a new Callbacks triggered in the BillManager, which includes our BillDatastructure and the enum:
Code: Select all
const DONATED_TO_SERVER = 1; const DONATED_TO_RECEIVER = 2; const PAYED_FROM_SERVER = 3;
I think it would be a good solution, hope this is what you need, just tell me.
Who is online
Users browsing this forum: No registered users and 1 guest