PHP code example of shell / digital-payments-sdk

1. Go to this page and download the library: Download shell/digital-payments-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/ */

    

shell / digital-payments-sdk example snippets


composer 

"    "shell/digital-payments-sdk": "1.0.0"
}

$client = ShellEVClientBuilder::init()
    ->mppTokenCredentials(
        MppTokenCredentialsBuilder::init(
            'Authorization'
        )
    )
    ->oAuthTokenPostCredentials(
        OAuthTokenPostCredentialsBuilder::init(
            'X-Apigee-Authorization'
        )
    )
    ->build();