Difference between revisions of "Affiliate Custom Signup"
From Offerit
OfferitRobC (talk | contribs) |
OfferitMegan (talk | contribs) (→Other Payment Options) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
==Payvia Required Fields== | ==Payvia Required Fields== | ||
− | + | First number is payvia field id<br /> | |
The submit fields have the following format: | The submit fields have the following format: | ||
Line 14: | Line 14: | ||
:*'''min_char''' - the minimum number of characters the field must have to submit. | :*'''min_char''' - the minimum number of characters the field must have to submit. | ||
:*'''max_char''' - the maximum number of characters the field must have to submit. | :*'''max_char''' - the maximum number of characters the field must have to submit. | ||
− | |||
:*'''payvia_nice_name''' - an internal name that corresponds to the payvia_field_id. | :*'''payvia_nice_name''' - an internal name that corresponds to the payvia_field_id. | ||
Line 31: | Line 30: | ||
===Payvia Types/Fields=== | ===Payvia Types/Fields=== | ||
+ | |||
+ | The payvia types have their own checks that must be met during signup. | ||
+ | |||
+ | :*'''required''' - This field is required to use the specific payvia type. | ||
+ | :*'''min''' - The minimum number of characters the field must have to submit. | ||
+ | :*'''max''' - The maximum number of characters the field must have to submit. | ||
+ | :*'''is_unique''' - The value must be unique for all affilaites. | ||
+ | :*'''check_function''' - Will perform a check function on the field's value (more information about check functions are available here: [[Offerit_Check_Functions|Offerit Check Functions]]). | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 120: | Line 128: | ||
==Signup Required Fields== | ==Signup Required Fields== | ||
− | The signup variable must be sent as an array in the postback. | + | The signup variable must be sent as an array in the postback.<br /> |
+ | The submit fields have the following format: | ||
+ | |||
+ | signup[<'''signup_field_name'''>:<'''required'''>:<'''min_char'''>:<'''max_char'''>:<'''field_checking'''>::<'''check_function'''>] | ||
+ | |||
+ | :*'''signup_field_name''' - the field name that is being used | ||
+ | :*'''required''' - set to 0 if the field is not required, 1 if it is. | ||
+ | :*'''min_char''' - the minimum number of characters the field must have to submit. | ||
+ | :*'''max_char''' - the maximum number of characters the field must have to submit. | ||
+ | :*'''field_checking''' - will check if two values match (such as a password or email check) | ||
+ | :*'''check_function''' - will perform a check function on the field's value (more information about check functions are available here: [[Offerit_Check_Functions|Offerit Check Functions]]) | ||
====General Fields==== | ====General Fields==== | ||
Line 155: | Line 173: | ||
signup[nostore_verify_password:1:6:16:password]= | signup[nostore_verify_password:1:6:16:password]= | ||
</pre> | </pre> | ||
− | Special nostore_verify variables are to ensure that the when entering the values twice (email or passwords) that both fields match | + | :*Special nostore_verify variables are used to ensure that the when entering the values twice (email or passwords) that both fields match |
<pre> | <pre> | ||
Line 194: | Line 212: | ||
signup[minimum_payout:1]= | signup[minimum_payout:1]= | ||
</pre> | </pre> | ||
− | :*The minimum amount for which to generate a payment for an affiliate, based on the minimum payout options you set up in the Pay Via Types tab of the | + | :*The minimum amount for which to generate a payment for an affiliate, based on the minimum payout options you set up in the [[Pay Via Types]] tab of the [[Payments Admin]]. |
<pre> | <pre> | ||
Line 200: | Line 218: | ||
signup[custom1:0] (through 5) | signup[custom1:0] (through 5) | ||
</pre> | </pre> | ||
+ | :*Tax ID/SSN number for the affiliate | ||
+ | :*Custom variables 1 through 5 will be stored with the affiliate and can be viewed through the admin. |
Latest revision as of 12:27, 13 August 2012
Offerit supports the use of custom signup forms for affiliates to signup to your Offerit install.Contents
Payvia Required Fields
First number is payvia field id
The submit fields have the following format:
- payvia[<payvia_field_id>:<required>:<min_char>:<max_char>:::::<payvia_nice_name>]=
- payvia_field_id - the id of the payvia field being used
- required - set to 0 if the field is not required, 1 if it is.
- min_char - the minimum number of characters the field must have to submit.
- max_char - the maximum number of characters the field must have to submit.
- payvia_nice_name - an internal name that corresponds to the payvia_field_id.
payvia[1:1:1:64:::::Pay To]=Pay To payvia[1001:0:0:255:::::Address]=address1 payvia[1002:0:0:255:::::Address 2]=Addr2 payvia[1003:0:0:128:::::City]=City payvia[1004:0:0:128:::::State]=State payvia[1005:0:0:64:::::Zip Code]=Zip payvia[1006:0:0:128:::::Country]=United States
Payvia Types/Fields
The payvia types have their own checks that must be met during signup.
- required - This field is required to use the specific payvia type.
- min - The minimum number of characters the field must have to submit.
- max - The maximum number of characters the field must have to submit.
- is_unique - The value must be unique for all affilaites.
- check_function - Will perform a check function on the field's value (more information about check functions are available here: Offerit Check Functions).
Check | ||||||
---|---|---|---|---|---|---|
name | payvia_field_id | required | min | max | is_unique | check_function |
Pay To | 1 | 1 | 1 | 64 | 1 | |
Address | 1001 | 0 | 0 | 255 | 0 | |
Address 2 | 1002 | 0 | 0 | 255 | 0 | |
City | 1003 | 0 | 0 | 128 | 0 | |
State | 1004 | 0 | 0 | 128 | 0 | |
Zip Code | 1005 | 0 | 0 | 64 | 0 | |
Country | 1006 | 0 | 0 | 128 | 0 |
Domestic Wire | ||||||
---|---|---|---|---|---|---|
name | payvia_field_id | required | min | max | is_unique | check_function |
Bank Name | 4 | 1 | 1 | 64 | 0 | |
Account Number | 5 | 1 | 1 | 64 | 0 | alnum_number_check |
Routing Number | 6 | 1 | 1 | 64 | 0 | alnum_number_check |
Account Name | 14 | 1 | 1 | 64 | 0 |
International Wire | ||||||
---|---|---|---|---|---|---|
name | payvia_field_id | required | min | max | is_unique | check_function |
Bank Name | 7 | 1 | 1 | 64 | 0 | |
Bank Address | 8 | 1 | 1 | 255 | 0 | |
Bank City | 9 | 1 | 1 | 128 | 0 | |
Bank State | 10 | 1 | 1 | 128 | 0 | alnum_letter_space_check |
Bank Zip | 11 | 1 | 1 | 64 | 0 | |
Bank Country | 12 | 1 | 1 | 128 | 0 | alnum_letter_space_check |
Account Number | 13 | 1 | 1 | 64 | 0 | alnum_number_check |
Account Name | 15 | 1 | 1 | 64 | 0 | |
Account Iban | 16 | 0 | 0 | 64 | 0 | |
Address | 17 | 0 | 0 | 255 | 0 | |
Address 2 | 18 | 0 | 0 | 255 | 0 | |
City | 19 | 0 | 0 | 128 | 0 | |
State | 20 | 0 | 0 | 128 | 0 | |
Country | 21 | 0 | 0 | 128 | 0 | |
Zip Code | 22 | 0 | 0 | 64 | 0 | |
Bank Swift | 23 | 0 | 0 | 128 | 0 |
Other Payvias | name | payvia_field_id | required | min | max | is_unique | check_function |
---|---|---|---|---|---|---|---|
Inteca | Inteca ID | 2 | 1 | 1 | 64 | 1 | alnum_letter_space_check |
ePassporte | User ID | 3 | 1 | 1 | 64 | 1 | |
EMC2/IPAYOUT | User Name | 24 | 1 | 1 | 128 | 1 | |
Paypal | accountid | 1007 | 0 | 1 | 55 | 0 |
Signup Required Fields
The signup variable must be sent as an array in the postback.
The submit fields have the following format:
signup[<signup_field_name>:<required>:<min_char>:<max_char>:<field_checking>::<check_function>]
- signup_field_name - the field name that is being used
- required - set to 0 if the field is not required, 1 if it is.
- min_char - the minimum number of characters the field must have to submit.
- max_char - the maximum number of characters the field must have to submit.
- field_checking - will check if two values match (such as a password or email check)
- check_function - will perform a check function on the field's value (more information about check functions are available here: Offerit Check Functions)
General Fields
signup[account_type]=
- Set this equal to either affiliate or advertiser.
signup[offerit]=
- This is the Offerit code, which is used for referring comissions and account reps
signup[username:1:6:16:::easy_username_check]=Username signup[company:1:2:64]=
- Username/Company
signup[mailok]=
- Set this to 1 if the affiliate would like to receive emails
signup[url:1:2:128]=
- Main URL for the affiliate
Password Fields
signup[password:1:6:16:::easy_password_check]= signup[nostore_verify_password:1:6:16:password]=
- Special nostore_verify variables are used to ensure that the when entering the values twice (email or passwords) that both fields match
signup[email:1:5:64:::email_check]= signup[nostore_verify_email:1:5:64:email]=
- Special nostore_verify variables are used to ensure that the when entering the values twice (email or passwords) that both fields match
Instant Messengers
signup[icq:0]= signup[aim:0]= signup[msn:0]=
Personal Information (Name, Address)
signup[firstname:1:2:32]= signup[lastname:1:2:32]= signup[address1:1:6:128]= signup[address2:0:0:128]= signup[city:1:2:64]= signup[state:0:0:32]= signup[zip_code:1]= signup[country]= signup[tel:0] signup[dob:0]
Payment Method
signup[payvia]=
- The chosen payment method based on the Payvia ID within Offerit.
Other Payment Options
signup[minimum_payout:1]=
- The minimum amount for which to generate a payment for an affiliate, based on the minimum payout options you set up in the Pay Via Types tab of the Payments Admin.
signup[tax_id_or_ssn:0]= signup[custom1:0] (through 5)
- Tax ID/SSN number for the affiliate
- Custom variables 1 through 5 will be stored with the affiliate and can be viewed through the admin.