Skip to content

PaydoW/PAYDO-PHP-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Paydo PHP-SDK

Php sdk for Paydo

Payment integration using Paydo Api

<?php
header('Content-Type: text/html; charset=UTF-8');

// Paydo data
$publicKey = '';
$secretKey = '';

// Order params
$params['amount'] = 1;
$params['currency'] = 'RUB';
$params['orderId'] = 1;
$params['paymentType'] = 'app';
$params['payment'] = 'ALL';

require_once('../Paydo.php');

$paydo = new Paydo($publicKey,$secretKey);
$response = $paydo->api('initPayment', $params);

if(!empty($response->result->payUrl)){
    header("Location: " . $response->result->payUrl);
}

Direct download

Download last version , unzip and copy to your project folder.

Contributing

Please feel free to contribute to this project! Pull requests and feature requests welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages