Skip to content

androidrivernet/ARAuth_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scrutinizer code quality (GitHub/Bitbucket) version badge badge php badge developer licence

ARAuth API Sample Project

This is an sample script for ARAuth API which using for verifying purchases that a buyer will provide it's detalis.

How To Use

  • Download script and make a folder with arauth name in your project root, Then move all downloaded files into this directory.
  • Include ARAuth.php to your web based project
  • The PurchaseIsValid.php should be very first page before user verification, You can also Rename it.
  • Then you should modify the body of user valid statement :
 if($response->validation == 'true'){ // Customer is Valid

        //Do someting for grant access to your buyer
        echo $response->desc;
    }

Notice: This is just a sample project for understandig how api works,You should modify the Algorithm according to your available options and your needs.

About

Sample Project to Simplify using ARAuth API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%