Knowledgebase
Knowledgebase
Account sign-up / new account script
Posted by Chris Duerr on 08 January 2012 09:41 PM

The remote account signup script allows you to let users register for an AddonInteractive customer account and an AddonChat account from your own site.

Approval for use of this script must be obtained firstContact support@addonchat.com for additional information.

Script Location:

http://www.addonchat.com/rsignup.php

Parameters:

email: Customer eMail Address
password: Customer Password
password_verify: Customer Password (Verify, must match password)
firstname: Customer's First Name (Recommended, but not required)
lastname: Customer's Last Name (Recommended, but not required)
website: Customer's Web Site
terms: Set to 'yes' to inidcate that customer agrees to terms of use
age: Set to 'yes' to indicate that customer is 13 years of age or older
informed: Set to 'yes' to add customer to AddonInteractive mailing list
chat_title: Title customer wishes to use for chat room
referred_by: Affiliate ID or Referral Code

Output:

This script will return two or three lines depending upon successful account creation:
  1. 0 for Failure, 1 for Success.
  2. Assigned customer account number (Integer only) or Error Code
  3. Assigned AddonChat account number (Integer only

Example Output:

1
128483
3947839

Example Error Output:

0
102

Error Codes:

  • 100: Customer is not 13 years of age or older
  • 101: Customer does not agree with Terms & Conditions
  • 102: Invalid eMail Address
  • 103: Invalid Web Site
  • 104: Weak Password Specified
  • 105: Customer already has an account listed with this eMail address. Please direct them to addonchat.com
  • 106: Password verification does not match
  • 110: General (Unknown) Error
  • 200: Internal Error
  • 201: Internal Error
  • 202: Internal Error

Notes:

This script guarantees the Content-type output will be in plain text format, UTF-8 encoded. Data passed to this script should also be UTF-8 encoded. 

AddonInteractive does not recommend storing our customer's passwords in plain text. 

You must provide forms for the user to consent to our terms of service, age requirements, and mailing list opt-in. 
(3 votes)
This article was helpful
This article was not helpful

Comments (0)