Skip to content

niltonmelox/php-sdk

This branch is up to date with andris9/php-sdk:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Andris Reinman
Oct 28, 2011
71933e8 · Oct 28, 2011

History

4 Commits
Oct 28, 2011
Oct 28, 2011
Oct 28, 2011

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