PHP code example of place-to-pay / php-sdk-pse

1. Go to this page and download the library: Download place-to-pay/php-sdk-pse library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

place-to-pay / php-sdk-pse example snippets


	$config = array(
		"login" => "",
		"tran_key" => "",
		"cache" => array(
	 		"type" => "",
	 		"memcached" => array(
	 			"host" => "",
	 			"port" => ""
			)
		)
	)

	$obj = new SDKPSE($config);