Exemplo n.º 1
0
<?php

$obj = new \AlternativePayments\Model\Void();
$obj->setReason(\AlternativePayments\Model\ReturnReason::UNSATISFIED_CUSTOMER);
$res = \AlternativePayments\Void::post($obj, "trn_nonprofitpen1");
var_dump($res);
Exemplo n.º 2
0
<?php

$res = \AlternativePayments\Void::get("trn_f09f256", "trn_nonprofitpen1");
//class, void transaction if, parent transaction id
var_dump($res);
Exemplo n.º 3
0
<?php

$res = \AlternativePayments\Void::getAll("trn_nonprofitpen1");
var_dump($res);