PHP code example of paze / paze-apimatic-sdk-sdk
1. Go to this page and download the library: Download paze/paze-apimatic-sdk-sdk 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/ */
paze / paze-apimatic-sdk-sdk example snippets
use PazeCheckoutAPILib\Environment;
use PazeCheckoutAPILib\Authentication\ClientCredentialsAuthCredentialsBuilder;
use PazeCheckoutAPILib\PazeCheckoutAPIClientBuilder;
$client = PazeCheckoutAPIClientBuilder::init()
->clientCredentialsAuthCredentials(
ClientCredentialsAuthCredentialsBuilder::init(
'OAuthClientId',
'OAuthClientSecret'
)
)
->environment(Environment::PRODUCTION)
->build();