Skip to content

Releases: sobirjonovs/automated-p2p-transactions

AP2P Transactions v1.1

15 Aug 11:37
Compare
Choose a tag to compare
  • Catching exceptions improved
  • Made classes dependent to each other

You can trace the error by catching DebugException class.

<?php

$payme = new Api();
$payme->setCredentials(['login' => 'paymega ulangan telefon raqam (Telefon raqam 901234565 formatda bo`lishi kerak)', 'password' => 'paymedagi parol']);

try {
    foreach ($payme->selectCard('card id')->findByComment('comment', 0) as $e) {
        echo $e->getCard()->getTitle();
    }
} catch (\App\Payme\DebugException $e) {
    echo $e->getExceptionMessage();
    die;
}

AP2P Transactions v1.0

27 Jul 10:06
a0d7196
Compare
Choose a tag to compare
  • Only website-limited API
  • Data is stored using sessiion