		1) Warning
		---------------
The private merchant key and the Siret code are strictly confidential because they are sensitive for the tradesman. The tradesmen are responsible for their diffusion. Pages HTML and PHP are given by way of example but they are operational.
		2) Contained file
		----------------------
This merchant kit is generic, it is functional but correpond with a site of demonstration (name Ma boutique 1)
To be used on your site you must modify certain information as indicated in the paragraph "configuration and tests".

The file contains the sources of the merchant kit, scripts of compilation (configures and makefile), files of test (repertory test).

You will also find there a whole of images (repertory logos_SPPLUS) and examples which you can use in the pages of your site in order to announce the use of protected payment SP+. Their use is strongly recommended and any exemption must be justified.

		3) Installation and compilation
		--------------
Before any thing, package PHP "php-devel" must be installed on your server. This package makes it possible to compile extensions PHP.

You must extract the file in a temporary repertory as indicated below (in the case of a machine under Unix or linux) :

machine user$ cp spplus-1.2.tar.gz /tmp
machine user$ cd /tmp
machine tmp$ tar xvzf spplus-1.2.tar.gz
machine tmp$ cd spplus-1.2
machine spplus-1.2$ autoconf
machine spplus-1.2$ ./configure
machine spplus-1.2$ make

If you do not have the program php-config in your PATH, You must use the following orders :
machine user$ cp spplus-1.2.tar.gz /tmp
machine user$ cd /tmp
machine tmp$ tar xvzf spplus-1.2.tar.gz
machine tmp$ cd spplus-1.2
machine spplus-1.2$ autoconf
machine spplus-1.2$ ./configure -with-php-config=[PATH]
machine spplus-1.2$ make

If all the stages are unrolled correctly, the following order makes it possible to install the bookshop, it must be carried out by a user having the sufficient rights to copy files in the repertory of installation. This user is in general root or possibly another user having access like apache.
(php_spplus.so library must be installed in the repertory of extensions PHP of your serveur)

machine spplus-1.2# make install

The module hmac SPPLUS is now installed and new functions are accessible to the users from the language.
Makefile file is given for example, includes PHP must be modified according to the installation of PHP on your server. The compiler used is GCC.

		4) Configuration and Test
		-------------
The tests files must be modified. For that, the value of the following variables must be replaced by information of your site.

$clent="58 6d fc 9c 34 91 9b 86 3f fd 64 63 c9 13 4a 26 ba 29 74 1e c7 e9 80 79";
This information is provided by the integration service, If you did not receive it, you must require it by e-mail.

$codesiret="00000000000001-001";
It's the siret code of your company followed of the number of site (in general they is 01).
If you do not know it, the integration service can communicate this information to you.


appel_spplus_php.php file allow to test the php_spplus.so library with this command line :
>php tests/appel_spplus_php.php.

		5) Problems
		-----------

Certain Unix systems define the ulong types, uint, uchar. If you encounter problems of compilation due the redefinition of these types, modify the common.h file and puts in comment the line concerned.

		6) Remarks
		-----------
The name of the file can be different.
The source files are written out of C ANSI. They can thus be easily compiled on other platforms

A more complete documentation is available. You can ask it near the integration service.