![]() |
Tracking payment amounts
By default, vBulletin has an amount and currency column in it's paymenttransaction table, but these fields are not used (reported as a "bug", was told these would be removed in future version).
However, a couple simple lines and with PayPal you can record both of these fields. This is critical for me as it allows me to track who paid how much. In includes/paymentapi/class_paypal.php, find: Code:
$this->transaction_id = $this->registry->GPC['txn_id']; Code:
// MDP Code:
$trans['state'] = $apiobj->type; Code:
// MDP This works with both 3.53 and the new 3.54 releases. |
Reserved.
|
This, I think I shall like. Now, we just need to write up reports against the table and stick them in the admincp stats section.
|
Exactly! I sent these small code changes into vB, but they responded that they would rather remove the columns in an update. Personally, this is a big deal for my site - we get tens of thousands of dollars in "donations" a year and knowing who gave how much is how we rate our members. It's also how I can track how much we've taken in versus how much we've spent.
Tracking amounts opens up a whole new area of reporting, tracking and promotions. |
I think they're making a big mistake dropping those columns. Also, it might be better if we rename them and rename them in your code to prevent legacy data from being dropped in an upgrade.
|
Quote:
I agree with this |
I agree with all points in this thread
|
Good idea, Amy; I'll extend my instructions in the near future to do just that.
|
All times are GMT. The time now is 07:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|