Gossamer Forum
Home : Products : Gossamer Links : Discussions :

PaymentLogs

Quote Reply
PaymentLogs
Good Evening,

I would like to run a sql query to obtain Total Amounts and Total Fees
from the lsql_PaymentLogs from Jan 1,2005 to present.

Have tryed, but no success.


Help with this would be appreciated.
Quote Reply
Re: [rascal] PaymentLogs In reply to
Nobody knows how?
Quote Reply
Re: [rascal] PaymentLogs In reply to
Anyone from Gossamer know how?

Last edited by:

rascal: Aug 24, 2005, 9:46 AM
Quote Reply
Re: [rascal] PaymentLogs In reply to
The PaymentLogs table doesn't have all the information you need, so you probably want to use the Payments table. This should do it:
Code:
SELECT SUM(payments_amount) FROM lsql_Payments WHERE payments_status = 1 AND payments_start > 1104566400

Adrian
Quote Reply
Re: [brewt] PaymentLogs In reply to
Adrian ,

Thanks alot for helping me out, worked like a charm.

Is there a way to get the paypal transaction fees from Jan 01-05?
Quote Reply
Re: [rascal] PaymentLogs In reply to
Just bringing to the top.