Skip to content

jarnheimer/php_sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php_sdk 1.1

The PHP SDK for Mondido Payments

<?
    error_reporting(-1);
    include_once 'mondido_sdk.php';

    //get the transaction id from the POST
    $transaction = mondido\mondido_sdk::getWebHook();
    //get the id
    $transaction_id = $transaction['id'];
    //log to file
    mondido\mondido_sdk::logToFile('log.txt',$transaction);

The unit tests require PHPUnit to be installed and run phpunit test/

About

The PHP SDK for Mondido Payments

Resources

Stars

Watchers

Forks

Packages

No packages published