PayMaya Checkout PHP SDK Now Available!
Posted by Diwa del Mundo, John Lawrence Poklay • Friday November 04, 2016 10:26 AM

The PayMaya Payment Gateway team is proud to announce the availability of the Paymaya Checkout PHP SDK. With minimal PHP code, you can get a Checkout object that gives you the Checkout page URL:

$itemCheckout = new Checkout();
$user = new User();
$itemCheckout->buyer = $user->buyerInfo();
$itemCheckout->execute();

echo $itemCheckout->id // Checkout ID
echo $itemCheckout->url // Checkout URL

The SDK is available in the PayMaya Engineering team's Github page.

 

https://github.com/PayMaya/PayMaya-PHP-SDK

 

You can also import the SDK via Composer:

 

composer require paymaya/paymaya-sdk

 

https://packagist.org/packages/paymaya/paymaya-sdk