Example Postbacks for NATS4 Site User Management

From TMM Wiki
Revision as of 14:13, 27 December 2017 by TMM Rich (talk | contribs) (Created page with "{{NATS4 Manual | show_sites_admin_section = true }} Using the example capture script found on our NATS4_Site_User_Management#Sample_Scripts wiki page. === ADD === Sent w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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

Using the example capture script found on our NATS4_Site_User_Management#Sample_Scripts wiki page.

ADD

Sent when a new username should be added to the user management system for user access. This occurs when a new member registers on one of your sites.

This sends parameters from the members table, as well as the following extra parameters:

  • member_subscription_id, memberidx, billerid, statid, cost, cost_charge, spent, refunded, charges, next_rebill, optionid, rebills, active, expires, nats_expires, biller_expires, original_optionid, created_date, loginid_assigned, identid_assigned, member_identid, member_loginid, country, xsell_success, last_modified, mychanges_username/password/status/trial/mailok/marked, new_status/trial/mailok/marked, siteid, username

MANUALADD

Sent when a username is manually added via the members admin.

This sends the available parameters from the members table, as well as the additional parameters sent by the "ADD" user management call.

ACTIVATE

Sent when a user has rebilled through the biller. This is used to record a rebill, or to convert a member from a trial membership to a full membership.

This sends the available parameters from the members table, as well as the additional parameters sent by the "ADD" user management call.

TRIALTOFULL

Sent when a user upgrades from a trial to a full membership.

This sends the available parameters from the members table, as well as the additional parameters sent by the "ADD" user management call.

Note: Your script might be run more than once when doing a conversion.

CHANGE

Sent when a current username or password should be changed to a new username or password. This will only pass back a new username or new password if there is a new value for either.

This sends a few different parameters from other other user management calls. The "CHANGE" call also sends parameters such as new_username, new_password, new_cryptpass, new_token, etc.

DELETE

Sent when a user's account should be immediately removed from the active user list.

This sends the available parameters from the members table, as well as the additional parameters sent by the "ADD" user management call.

EXPIRE

Sent when a user's account should be expired on the provided date. The date might be in the past.

This sends the available parameters from the members table, as well as the additional parameters sent by the "ADD" user management call. This call also sends the expires parameter, expressed in unix_timestamp format.

CHECK

Sent to check if a username is available, or already exists in your NATS database.
This sends the following parameters: username and siteid.

NOTE: If the username does exist, the reply should be "OK". If the username does not exist, the reply should be "NOTOK".