Difference between revisions of "Token Sites"
From TMM Wiki
Jump to navigationJump to searchLine 14: | Line 14: | ||
* You have the ability to send the surfer through the NATS pre-join form without them needing to see that form. | * You have the ability to send the surfer through the NATS pre-join form without them needing to see that form. | ||
* The only required data is the token option and cascade. | * The only required data is the token option and cascade. | ||
− | |||
<pre> | <pre> | ||
+ | Simply redirect the surfer to the join page with these variables: | ||
&signup[optionid]=<TOKENOPTION>&cascade=<CACADEID> | &signup[optionid]=<TOKENOPTION>&cascade=<CACADEID> | ||
+ | </pre> | ||
+ | * You can optionally add all of the other fields to be submit like username, password, and e-mail address. | ||
+ | |||
+ | You can utilize this option to send members that have already purchased back to the join form and use their same username. | ||
+ | |||
+ | * The post to reuse a username MUST contain the original username and the matching e-mail or matching token_hash. | ||
+ | * When a member is created in NATS, they are assigned a token_hash that is passed in all of the NATS postbacks. | ||
+ | <pre> | ||
+ | &signup[username]=<USERNAME>&signup[email]=<EMAIL> | ||
+ | or | ||
+ | &signup[username]=<USERNAME>&signup[token_hash]=<TOKENHASH> | ||
</pre> | </pre> | ||
== Deducting Tokens == | == Deducting Tokens == |
Revision as of 08:58, 9 April 2009
What is a Token Site?
- A token site gives you the ability to have surfers purchase tokens as options instead of a period of time for membership.
- You then have the ability to send that surfer back to the form to purchase additional tokens under that same username.
- NATS will keep track of the total number of tokens that a surfer has purchased.
- You can then post to NATS to deduct the tokens from a member when they are used in your system.
Posting to Signup
- You have the ability to send the surfer through the NATS pre-join form without them needing to see that form.
- The only required data is the token option and cascade.
Simply redirect the surfer to the join page with these variables: &signup[optionid]=<TOKENOPTION>&cascade=<CACADEID>
- You can optionally add all of the other fields to be submit like username, password, and e-mail address.
You can utilize this option to send members that have already purchased back to the join form and use their same username.
- The post to reuse a username MUST contain the original username and the matching e-mail or matching token_hash.
- When a member is created in NATS, they are assigned a token_hash that is passed in all of the NATS postbacks.
&signup[username]=<USERNAME>&signup[email]=<EMAIL> or &signup[username]=<USERNAME>&signup[token_hash]=<TOKENHASH>