NATS3 Post URL Variables

From TMMwiki
Jump to: navigation, search
NATS 4
Skins and Templates Admin
The Skins and Templates Admin
Skins
Smarty Plugins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder

NATS 3
Skins & Templates Admin
Smarty Plugins
Skins
Editing Skins
Creating Skins
Switching Skins
Templates
nats_code
Affiliate Stats Template
Affiliate Support Template
Affiliate Login Template
custom errors.php
Template Array Variable
Detailed Stats
NATS Variables
Dialer Statistics
Affiliate Signup
Post URL Variables
Member Usernames & Passwords
Output An Affiliate's Last Paid Date
Custom Program and Campaign Selection Pages
CAPTCHA Removal
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Template Caching
Random Usernames and Passwords
Base Templates
Protecting Template Data
Mail Reseller Signup Template Variable Names
Smarty
Smarty print array
News Section Templating
Affiliate Signup Email
Getting The NATSCode
Checking for Usernames on All Sites
Adding Stats to Affiliate Pages
Affiliate Join Page Linkcodes

Most post URLs use the same variables, but the posttype field changes depending on which post URL you are using. Note: the Denial and Expire posts may only use columns in the 'members' table.
Note: this information is sent to your post url through GET (script.php?username=foo&password=bar) not POST (such as with a form).

  • loginid
  • amount
  • transid ($billername.':'.transactionid)
  • posttype (approval , denial , rebill, credit, chargeback , expire)
  • all the columns in the 'members' table
    • memberid => bigint(20)
    • status => tinyint(4)
    • trial => tinyint(3)
    • memberidx => varchar(128)
    • joined => datetime
    • expires => datetime
    • last_login => datetime
    • stamp => timestamp
    • siteid => int(10)
    • tourid => int(10)
    • campaignid => int(10)
    • programid => int(10)
    • rebills => int(10)
    • spent => int(10)
    • refunded => int(10)
    • cost => int(10)
    • cost_charge => int(10)
    • username => varchar(32)
    • password => varchar(16)
    • cryptpass => varchar(32)
    • billerid => tinyint(3)
    • cascade_name => varchar(16)
    • optionid => int(10)
    • subid1 => int(10)
    • subid2 => int(10)
    • adid => int(10)
    • ip => bigint(20)
    • firstname => varchar(64)
    • lastname => varchar(64)
    • email => varchar(255)
    • address1 => varchar(128)
    • address2 => varchar(128)
    • zip => varchar(16)
    • city => varchar(32)
    • country => char(2)
    • state => char(2)
    • urlref => varchar(128)
    • session => varchar(32)
    • mailok => tinyint(4)
    • ptype => varchar(16)
    • charges => int(10)
    • flat_price => int(10)
    • shipping_firstname => varchar(64)
    • shipping_lastname => varchar(64)
    • shipping_address1 => varchar(128)
    • shipping_address2 => varchar(128)
    • shipping_zip => varchar(16)
    • shipping_city => varchar(32)
    • shipping_country => char(2)
    • shipping_state => varchar(32)
    • nextrebill => datetime
    • phone => varchar(16)
    • cchash => varchar(32)
    • first_login => datetime
    • verify_amount => int(10)
    • verify_hash => tinyint(3)
    • verify_is_active => tinyint(3)
    • verify_needed => tinyint(3)
    • xsell_success => tinyint(1)
    • xsell_message => varchar(128)
    • third_party_partner_id => tinyint(3)
    • previous_memberid => int(12)
    • upgradeid => varchar(128)
    • natsform_optionid => int(10)
    • cascade_step => tinyint(1)
    • custom1 => varchar(255)
    • custom2 => varchar(255)
    • custom3 => varchar(255)
    • custom4 => varchar(255)
    • custom5 => varchar(255)
    • cancelid => varchar(128)
    • gateway_token => varchar(128)