NATS4 Post URLs
From TMM Wiki
Revision as of 11:45, 9 March 2011 by TMMStephenY (talk | contribs)
The following is a list of the fields you can expect to receive on a postback from NATS4.
Approval Post URL
memberid => 796 identid => 34 loginid => 1 networkid => 0 refurl_lookup_id => 9 status => 1 trial => 1 joined => 1262047950 expired => 0 last_login => 0 stamp => 1262047950 siteid => 1 username => approvalpost4 password => password cryptpass => a4sLkn7C9GP12 ip => 1264826090 email => approval@post.com session => 2543fce3968fac6eeb94cf0ba8f79c33 mailok => 1 flat_price => 0 first_login => 0 third_party_partner_id => 0 cascadeid => 1 cascade_item_id => 23 token => 0 original_username => approvalpost4 renamed => 0 marked => 0 token_hash => a982a462747406a377a6f3d97572191d member_subscription_id => 466 memberidx => ZOMBAIO:1150132 billerid => 22 statid => 54b3952c068269 cost => 0 cost_charge => 0 spent => 2995 refunded => 0 charges => 0 next_rebill => 1262220750 optionid => 3 rebills => 0 active => 1 expires => 1262220750 nats_expires => 1262220750 biller_expires => 0 original_optionid => 3 created_date => 1262047936 loginid_assigned => 0 identid_assigned => 0 firstname => asdf lastname => asdf address1 => asdf zip => 12345 city => dfsdf country => US xsell_success => 0 last_modified => 0 transaction => Array( transaction_id => 617 biller_time => 1262047950 server_time => 1262047950 biller_transid => ZOMBAIO:243621 amount => 2995 biller_amount => 2995 biller_currency => USD exchange_rate => 1 trans_type_id => 3 charges => 0 charge_deduct => 0 process_type => 0 ) post_time => 1262047950 post_type => approvalpost
Possible Post Types
The following lists every possible parameter and value for post types that are sent through NATS4. Without using the correct values, your affiliate postbacks in NATS4 will not function properly.
transaction type: 'trial' post_type = 'approvalpost' transaction type: 'rebill' post_type = 'rebillpost' transaction type: 'conversion' post_type = 'upgradepost' transaction type: 'expire' post_type = 'expirepost' transaction type: 'insufficient_funds' post_type = 'insufficient_fundpost' transaction type: 'credit' post_type = 'creditpost' transaction type: 'chargeback' post_type = 'chargebackpost' transaction type: 'void' post_type = 'voidpost' transaction type: 'void_reversal' post_type = 'void_reversal_post' transaction type: 'credit_reversal' post_type = 'credit_reversal_post' transaction type: 'chargeback_reversal' post_type = 'chargeback_reversal_post' transaction type: 'insufficient_funds_reversal' post_type = 'insufficient_funds_reversal_post' transaction type: 'upgradedeny' post_type = 'upgradedenypost' transaction type: 'upgradesuccess' post_type = 'upgradepost' transaction type: 'change_details' post_type = 'change_detailspost' transaction type: 'manualadd' post_type = 'approvalpost' transaction type: 'pre_initial' post_type = 'pre_approvalpost' transaction type: 'pre_trial' post_type = 'pre_approvalpost' transaction type: 'pre_rebill' post_type = 'pre_rebillpost' transaction type: 'pre_conversion' post_type = 'pre_rebillpost' transaction type: 'pending_initial' post_type = 'pending_approvalpost' transaction type: 'pending_trial' post_type = 'pending_approvalpost' transaction type: 'pending_rebill' post_type = 'pending_rebillpost' transaction type: 'pending_conversion' post_type = 'pending_rebillpost'
NATS3 to NATS4 changes
One of the major differences, is that the transaction information is now in an array.