NATS4 Payment Dump Variables
From TMM Wiki
Revision as of 14:12, 3 June 2011 by TMMStephenY (talk | contribs)
The following variables allow you to customize the output of your payment dumps, allowing you to choose whatever information you wish to display in these dumps:
Variables in $entry (from payments)
- $entry.start
- $entry.end
- $entry.amount
- $entry.type
- $entry.paymentid
- $entry.start_nice
- $entry.end_nice
- $entry.memo
Variables in $affiliate.login (to display affiliate account_details)
- $affiliate.login.loginid
- $affiliate.login.username
- $affiliate.login.deleted
- $affiliate.login.type
- $affiliate.login.payvia_type_id
- $affiliate.login.status
- $affiliate.login.join_date
- $affiliate.login.inhouse
- $affiliate.login.api_key
- $affiliate.login.origin
- $affiliate.login.rss_pass_code
- $affiliate.login.language
- $affiliate.login.tmmid
- $affiliate.login.firstname
- $affiliate.login.lastname
- $affiliate.login.email
- $affiliate.login.date_posted
- $affiliate.login.join_ip
- $affiliate.login.last_login
- $affiliate.login.last_login_ip
- $affiliate.login.reviewed
- $affiliate.login.minimum_payout
- $affiliate.login.bonus
- $affiliate.login.bonus_used
- $affiliate.login.verify
- $affiliate.login.reason
- $affiliate.login.unencoded
- $affiliate.login.startpage
- $affiliate.login.rep_baseline
- $affiliate.login.company
- $affiliate.login.url
- $affiliate.login.tel
- $affiliate.login.icq
- $affiliate.login.aim
- $affiliate.login.msn
- $affiliate.login.address1
- $affiliate.login.address2
- $affiliate.login.city
- $affiliate.login.state
- $affiliate.login.country
- $affiliate.login.zip_code
- $affiliate.login.tax_id_or_ssn
- $affiliate.login.invoicer
- $affiliate.login.req_docs
- $affiliate.login.w9
- $affiliate.login.mailok
- $affiliate.login.trust_level
Variables in $affiliate.payvia (to display affiliate payvia information) Note: Additional fields not listed here will come from the pay via field shortnames (account_pv_<shortname>) if you are not using the default "check" or "domestic wire" formats.
- $affiliate.payvia.pay_to
- $affiliate.payvia.address1
- $affiliate.payvia.address2
- $affiliate.payvia.city
- $affiliate.payvia.state
- $affiliate.payvia.zip_code
- $affiliate.payvia.country
- $affiliate.payvia.account_name
- $affiliate.payvia.account_number
- $affiliate.payvia.bank_name
- $affiliate.payvia.routing_number
Variables in $total (to display affiliate payment information)
- $total.first_date
- $total.last_date
- $total.total_amount
- $total.entries