Skip to content

niltonmelox/php-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Usage

require "php-sdk/src/fortumo.php";

$fortumo = new Fortumo(array(
    "serviceId" => "YOUR_SERVICE_ID",
    "secret" => "YOUR_SERVICE_SECRET"
));

// Validate payment request
$payment = $fortumo->validateRequest();

if($payment){
    echo "Successful payment from {$payment['sender']}";
}else{
    echo "Error: " . $fortumo->getError();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published