1. Go to this page and download the library: Download sobirjonovs/payme-payment library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sobirjonovs / payme-payment example snippets
$payme = new Api();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam', 'password' => 'paymedagi parol']);
$payme->login()->sendActivationCode();
$payme = new Api();
$payme->activate('telefonga kelgan kod')->registerDevice();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam', 'password' => 'paymedagi parol']);
$device_id = $payme->getDevice(); // !!! MA'LUMOTLAR BAZAGA TEGISHLI TARTIBDA SAQLANSIN
$cards = $payme->getMyCards(); // !!! MA'LUMOTLAR BAZAGA TEGISHLI TARTIBDA SAQLANSIN | ID raqam massivning "_id" indeksida bo'ladi
$payme = new Api();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam (Telefon raqam 901234565 formatda bo`lishi kerak)', 'password' => 'paymedagi parol']);
$payme->setDevice('device id string');
$payme = new Api();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam (Telefon raqam 901234565 formatda bo`lishi kerak)', 'password' => 'paymedagi parol']);
$payme->setDevice('device id string');
$cheques = $payme->getAllCheques();
// yoki
$cheques = $payme->cheques();
$payme = new Api();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam (Telefon raqam 901234565 formatda bo`lishi kerak)', 'password' => 'paymedagi parol']);
$payme->setDevice('device id string');
// Bitta kartadagi tranzaksiyalar orasidan izoh orqali qidirish
$payme->selectCard('karta id raqami')->findByComment('izoh', 0); // 0 ni o'rniga kerakli summa yozilsin
// Barcha kartalardagi tranzaksiyalar orasidan izoh orqali qidirish
$payme->cheques()->findByComment('izoh', 0);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.