Skip to content

buglov/singleidtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

singleidtest

Install the app and fill in your details one last time. SingleID will take care of filling in forms from now on.

Pre-Requirements

  1. PHP >= 5.0.0
  2. cURL
  3. jQuery >= 1.6.1

Pre-Requirements for fields in the forms

  1. Input type - Select
    For every select dropdown you must set ID for the select with the name of the field in the app (full list of fields you can find in the end of the document)
  2. Input type - Radio
    Radio buttons must have attribute class and name with the name of the field in the app.
  3. Input type - Text
    For every input text ot textarea you must set ID with the name of the field in the app

How to install

On page where you want to put SingleID plugin you must have jQuery. Download plugin.php and put it into your webroot directory. Create a folder named userdata in the same directory and make it writtable.

Configuring

You must to set some settings in the plugin.php On line XX - XX you must set LOGO_URL ( the logo of your page that will be snown in the user phone when request is sended ), SITE_NAME - the name of your site and requested_data.

requested_data has a values of:
1 - Personal data only
1,2,3 - Personal, Billing and Shipping data
1,-2,3 - Personal, Billing and Shipping data ( Without credit card )
1,2,3,4 - Personal, Billing, Shipping and Identification data
1,-2,3,4 - Personal, Billing ( Without credit card ), Shipping and Identification data

Set the SingleID plugin

Just one step left. Put these code in every form where you want to use the plugin:
<iframe src="plugin.php?op=init" width="200" height="80" frameborder="0"></iframe>

Fields description

ONE TABLE WITH ALL THE FIELDS DIVEDED BY GROUPS of requested_data

About

single id test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors