Skip to content

Commit

Permalink
Add important comments
Browse files Browse the repository at this point in the history
  • Loading branch information
8ctopus committed Dec 5, 2024
1 parent 4b6ac8b commit a0ff5ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
dump($subscriptions->get($args['billing-agreement']));
});

// it does not show reversed transactions!!
$router->add('subscriptions list transactions <billing-agreement>', static function (array $args) use ($sandbox, $handler, $auth) : void {
$subscriptions = new Subscriptions($sandbox, $handler, $auth);
dump($subscriptions->listTransactions($args['billing-agreement']));
Expand Down Expand Up @@ -352,6 +353,7 @@
dump($payments->getAuthorized($args['id']));
});

// it does not show reversed transactions!!
$router->add('payments get captured <id>', static function (array $args) use ($sandbox, $handler, $auth) : void {
$payments = new Payments($sandbox, $handler, $auth);
dump($payments->getCaptured($args['id']));
Expand Down

0 comments on commit a0ff5ef

Please sign in to comment.