Difference between revisions of "NATS4 Post URLs"

From TMM Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by 3 users not shown)
Line 105: Line 105:
 
<pre>
 
<pre>
 
transaction type: 'trial'
 
transaction type: 'trial'
 +
post_type = 'approvalpost'
 +
</pre>
 +
<pre>
 +
transaction type: 'initial'
 +
post_type = 'approvalpost'
 +
</pre>
 +
<pre>
 +
transaction type: 'manualadd'
 
post_type = 'approvalpost'
 
post_type = 'approvalpost'
 
</pre>
 
</pre>
  
Rebill Post URL:
+
Denial Post URL:
 
<pre>
 
<pre>
transaction type: 'rebill'
+
transaction type: 'deny'
post_type = 'rebillpost'
+
post_type = 'denypost'
 
</pre>
 
</pre>
  
Line 117: Line 125:
 
<pre>
 
<pre>
 
transaction type: 'conversion'
 
transaction type: 'conversion'
 +
post_type = 'upgradepost'
 +
</pre>
 +
<pre>
 +
transaction type: 'upgradesuccess'
 
post_type = 'upgradepost'
 
post_type = 'upgradepost'
 
</pre>
 
</pre>
  
Expire Post URL:
+
Upgrade Denial Post URL:
 
<pre>
 
<pre>
transaction type: 'expire'
+
transaction type: 'upgradedeny'
post_type = 'expirepost'
+
post_type = 'upgradedenypost'
 
</pre>
 
</pre>
  
Insuficient Funds Post URL:
+
Username Post URL:
 
<pre>
 
<pre>
transaction type: 'insufficient_funds'
+
post_type = 'userpost'
post_type = 'insufficient_fundpost'
 
 
</pre>
 
</pre>
<!-- Not in a release yet
+
 
Cancel Post URL :
+
Prejoin Post URL:
 +
<pre>
 +
post_type='prejoinpost'
 +
 
 +
Pre (note) Join Post URL:
 
<pre>
 
<pre>
transaction type: 'cancel'
+
transaction type: 'pre_initial'
post_type = 'cancelpost'
+
post_type = 'pre_approvalpost'
 
</pre>
 
</pre>
-->
 
Credit Post URL:
 
 
<pre>
 
<pre>
transaction type: 'credit'
+
transaction type: 'pre_trial'
post_type = 'creditpost'
+
post_type = 'pre_approvalpost'
 
</pre>
 
</pre>
  
Chargeback Post URL:
+
NCR Join Post URL:
 
<pre>
 
<pre>
transaction type: 'chargeback'
+
transaction type: 'no_cost_registration'
post_type = 'chargebackpost'
+
post_type = 'nocost_approvalpost'
 
</pre>
 
</pre>
  
Void Post URL:
+
Third Party Free Registration Post URL:
 
<pre>
 
<pre>
transaction type: 'void'
+
transaction type: 'third_reg'
post_type = 'voidpost'
+
post_type = 'thirdreg_approvalpost'
 
</pre>
 
</pre>
  
Void Reversal Post URL:
+
Pre (note) Rebill Post URL:
 +
<pre>
 +
transaction type: 'pre_rebill'
 +
post_type = 'pre_rebillpost'
 +
</pre>
 
<pre>
 
<pre>
transaction type: 'void_reversal'
+
transaction type: 'pre_conversion'
post_type = 'void_reversal_post'
+
post_type = 'pre_rebillpost'
 
</pre>
 
</pre>
  
Credit Reversal Post URL:
+
Pending Join Post URL:
 +
<pre>
 +
transaction type: 'pending_initial'
 +
post_type = 'pending_approvalpost'
 +
</pre>
 
<pre>
 
<pre>
transaction type: 'credit_reversal'
+
transaction type: 'pending_trial'
post_type = 'credit_reversal_post'
+
post_type = 'pending_approvalpost'
 
</pre>
 
</pre>
  
Chargeback Reversal Post URL:
+
Pending Rebill Post URL:
 
<pre>
 
<pre>
transaction type: 'chargeback_reversal'
+
transaction type: 'pending_rebill'
post_type = 'chargeback_reversal_post'
+
post_type = 'pending_rebillpost'
 
</pre>
 
</pre>
 +
<pre>
 +
transaction type: 'pending_conversion'
 +
post_type = 'pending_rebillpost'
 +
</pre>
  
Insufficient Funds Reversal Post URL:
+
Rebill Post URL:
 
<pre>
 
<pre>
transaction type: 'insufficient_funds_reversal'
+
transaction type: 'rebill'
post_type = 'insufficient_funds_reversal_post'
+
post_type = 'rebillpost'
 
</pre>
 
</pre>
  
Upgrade Denial Post URL:
+
Cancel Post URL :
 
<pre>
 
<pre>
transaction type: 'upgradedeny'
+
transaction type: 'cancel'
post_type = 'upgradedenypost'
+
post_type = 'cancelpost'
 
</pre>
 
</pre>
  
Upgrade Approval Post URL:
+
Credit Post URL:
 
<pre>
 
<pre>
transaction type: 'upgradesuccess'
+
transaction type: 'credit'
post_type = 'upgradepost'
+
post_type = 'creditpost'
 
</pre>
 
</pre>
  
Changed Details Post URL:
+
Chargeback Post URL:
 
<pre>
 
<pre>
transaction type: 'change_details'
+
transaction type:  
post_type = 'change_detailspost'
+
'chargeback'
 +
post_type = 'chargebackpost'
 
</pre>
 
</pre>
  
Approval Post URL:
+
Insuficient Funds Post URL:
 
<pre>
 
<pre>
transaction type: 'manualadd'
+
transaction type: 'insufficient_funds'
post_type = 'approvalpost'
+
post_type = 'insufficient_fundpost'
 
</pre>
 
</pre>
  
Pre (note) Join Post URL:
+
Void Post URL:
 
<pre>
 
<pre>
transaction type: 'pre_initial'
+
transaction type: 'void'
post_type = 'pre_approvalpost'
+
post_type = 'voidpost'
 
</pre>
 
</pre>
  
Pre (note) Join Post URL:
+
Expire Post URL:
 
<pre>
 
<pre>
transaction type: 'pre_trial'
+
transaction type: 'expire'
post_type = 'pre_approvalpost'
+
post_type = 'expirepost'
 
</pre>
 
</pre>
  
Pre (note) Rebill Post URL:
+
Changed Details Post URL:
 
<pre>
 
<pre>
transaction type: 'pre_rebill'
+
transaction type: 'change_details'
post_type = 'pre_rebillpost'
+
post_type = 'change_detailspost'
 
</pre>
 
</pre>
  
Pre (note) Rebill Post URL:
+
Credit Reversal Post URL:
 
<pre>
 
<pre>
transaction type: 'pre_conversion'
+
transaction type: 'credit_reversal'
post_type = 'pre_rebillpost'
+
post_type = 'credit_reversal_post'
 
</pre>
 
</pre>
  
Pending Join Post URL:
+
Void Reversal Post URL:
 
<pre>
 
<pre>
transaction type: 'pending_initial'
+
transaction type: 'void_reversal'
post_type = 'pending_approvalpost'
+
post_type = 'void_reversal_post'
 
</pre>
 
</pre>
  
Pending Join Post URL:
+
Chargeback Reversal Post URL:
 
<pre>
 
<pre>
transaction type: 'pending_trial'
+
transaction type: 'chargeback_reversal'
post_type = 'pending_approvalpost'
+
post_type = 'chargeback_reversal_post'
 
</pre>
 
</pre>
  
Pending Rebill Post URL:
+
Insufficient Funds Reversal Post URL:
 
<pre>
 
<pre>
transaction type: 'pending_rebill'
+
transaction type: 'insufficient_funds_reversal'
post_type = 'pending_rebillpost'
+
post_type = 'insufficient_funds_reversal_post'
 
</pre>
 
</pre>
  
Pending Rebill Post URL:
+
Pending NCR Post URL:
 
<pre>
 
<pre>
transaction type: 'pending_conversion'
+
transaction type: 'ncr_verify'
post_type = 'pending_rebillpost'
+
post_type = 'pending_ncrpost'
 
</pre>
 
</pre>
  

Latest revision as of 14:10, 16 September 2020

NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Sites Admin
The Sites Admin
Sites
Site Setup
Site Templates
Tour Setup
Join Options
No Cost Registration
Special Pricing Options
Join Option Rules
Post URL Usage
Post URLs in NATS4
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
Mobile Tours
Token Sites
ID Numbers
Site Partner
Site User Management
Example Postbacks for Site User Management
Configure Redirects
Split A-B Testing
Username Checking
Form Validation
Post-Biller Templates
Send Information To Special Biller
Join Option Box vs Button
Qualified Join Page Hits
Allowed languages
Customize Join Form
Package Plus
Token Plus
Signup Plus
Type-In Traffic
Coupon Codes
Setting Rules
Site Groups
Options Simulator
ATVOD Verification Process

The following is a list of the fields you can expect to receive on a site postback from NATS4. For other postback examples, please check this article: NATS4 Postbacks and Post URLs

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
passthrough1 = passthrough1
passthrough2 = passthrough2
passthrough3 = passthrough3
passthrough4 = passthrough4
passthrough5 = passthrough5
defaulted_optionid = 0
forced_optionid = 0
member_identid = 505
member_loginid = 2
firstname => asdf
lastname => asdf
address1 => asdf
zip => 12345
city => dfsdf
state = CA
country => US
xsell_success => 0
custom1 = custom1
custom2 = custom2
custom3 = custom3
custom4 = custom4
custom5 = custom5
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
        total_transaction_payout => 1497
)
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. All of the available parameters correspond to a setting in the Approval/Denial/Upgrade and Postback URLs sections of the "Edit Tour" pages in the sites admin.

Approval Post URL:

transaction type: 'trial'
post_type = 'approvalpost'
transaction type: 'initial'
post_type = 'approvalpost'
transaction type: 'manualadd'
post_type = 'approvalpost'

Denial Post URL:

transaction type: 'deny'
post_type = 'denypost'

Upgrade Approval Post URL:

transaction type: 'conversion'
post_type = 'upgradepost'
transaction type: 'upgradesuccess'
post_type = 'upgradepost'

Upgrade Denial Post URL:

transaction type: 'upgradedeny'
post_type = 'upgradedenypost'

Username Post URL:

post_type = 'userpost'

Prejoin Post URL:

post_type='prejoinpost'

Pre (note) Join Post URL:
<pre>
transaction type: 'pre_initial'
post_type = 'pre_approvalpost'
transaction type: 'pre_trial'
post_type = 'pre_approvalpost'

NCR Join Post URL:

transaction type: 'no_cost_registration'
post_type = 'nocost_approvalpost'

Third Party Free Registration Post URL:

transaction type: 'third_reg'
post_type = 'thirdreg_approvalpost'

Pre (note) Rebill Post URL:

transaction type: 'pre_rebill'
post_type = 'pre_rebillpost'
transaction type: 'pre_conversion'
post_type = 'pre_rebillpost'

Pending Join Post URL:

transaction type: 'pending_initial'
post_type = 'pending_approvalpost'
transaction type: 'pending_trial'
post_type = 'pending_approvalpost'

Pending Rebill Post URL:

transaction type: 'pending_rebill'
post_type = 'pending_rebillpost'
transaction type: 'pending_conversion'
post_type = 'pending_rebillpost'

Rebill Post URL:

transaction type: 'rebill'
post_type = 'rebillpost'

Cancel Post URL :

transaction type: 'cancel'
post_type = 'cancelpost'

Credit Post URL:

transaction type: 'credit'
post_type = 'creditpost'

Chargeback Post URL:

transaction type: 
'chargeback'
post_type = 'chargebackpost'

Insuficient Funds Post URL:

transaction type: 'insufficient_funds'
post_type = 'insufficient_fundpost'

Void Post URL:

transaction type: 'void'
post_type = 'voidpost'

Expire Post URL:

transaction type: 'expire'
post_type = 'expirepost'

Changed Details Post URL:

transaction type: 'change_details'
post_type = 'change_detailspost'

Credit Reversal Post URL:

transaction type: 'credit_reversal'
post_type = 'credit_reversal_post'

Void Reversal Post URL:

transaction type: 'void_reversal'
post_type = 'void_reversal_post'

Chargeback Reversal Post URL:

transaction type: 'chargeback_reversal'
post_type = 'chargeback_reversal_post'

Insufficient Funds Reversal Post URL:

transaction type: 'insufficient_funds_reversal'
post_type = 'insufficient_funds_reversal_post'

Pending NCR Post URL:

transaction type: 'ncr_verify'
post_type = 'pending_ncrpost'

NATS3 to NATS4 changes

One of the major differences is that the transaction information is now in an array.