Difference between revisions of "Difference between NATS4 and NATS3 Postback URL"

From TMM Wiki
Jump to navigationJump to search
Line 105: Line 105:
 
*post_time
 
*post_time
 
*post_type
 
*post_type
*transaction => Array(
+
*transaction( is an associative array with the following information):
        *transaction_id  
+
**transaction_id  
        *biller_time  
+
**biller_time  
        *server_time  
+
**server_time  
        *biller_transid  
+
**biller_transid  
        *amount
+
**amount
        *biller_amount  
+
**biller_amount  
        *biller_currency  
+
**biller_currency  
        *exchange_rate  
+
**exchange_rate  
        *trans_type_id
+
**trans_type_id
        *charges  
+
**charges  
        *charge_deduct
+
**charge_deduct
        *process_type
+
**process_type
)
 

Revision as of 12:07, 12 April 2010

There have been some changes to the Post URL variables since NATS3.

Variables in NATS3 and NATS4

  • memberid
  • identid
  • loginid
  • networkid
  • status
  • trial
  • joined
  • last_login
  • stamp
  • siteid
  • username
  • password
  • cryptpass
  • ip
  • email
  • session
  • mailok
  • flat_price
  • first_login
  • cost
  • cost_charge
  • spent
  • refunded
  • charges
  • optionid
  • rebills
  • upgradeid
  • expires
  • firstname
  • lastname
  • address1
  • address2
  • zip
  • city
  • country
  • state
  • shipping_firstname
  • shipping_lastname
  • shipping_address1
  • shipping_address2
  • shipping_zip
  • shipping_city
  • shipping_country
  • shipping_state
  • phone
  • xsell_success
  • xsell_message
  • custom1
  • custom2
  • custom3
  • custom4
  • custom5
  • third_party_partner_id
  • memberidx
  • billerid

Variables in NATS3 ONLY

  • amount
  • transid ($billername.':'.transactionid)
  • posttype (approval , denial , rebill, credit, chargeback , expire)
  • all the columns in the 'members' table
    • tourid
    • campaignid
    • cascade_name
    • subid1
    • subid2
    • adid
    • urlref
    • ptype
    • nextrebill
    • cchash
    • first_login
    • verify_amount
    • verify_hash
    • verify_is_active
    • verify_needed
    • xsell_success
    • xsell_message
    • previous_memberid
    • natsform_optionid
    • cascade_step
    • gateway_token

Varialbes in NATS4 ONLY

  • active
  • refurl_lookup_id
  • expired
  • cascadeid
  • cascade_item_id
  • token
  • original_username
  • renamed
  • marked
  • token_hash
  • member_subscription_id
  • statid
  • next_rebill
  • nats_expires
  • biller_expires
  • original_optionid
  • created_date
  • last_modified
  • post_time
  • post_type
  • transaction( is an associative array with the following information):
    • transaction_id
    • biller_time
    • server_time
    • biller_transid
    • amount
    • biller_amount
    • biller_currency
    • exchange_rate
    • trans_type_id
    • charges
    • charge_deduct
    • process_type