Esempio n. 1
0
<?php

$res = \AlternativePayments\Refund::get("trn_d70bcef", "trn_nonprofitpen1");
//class name, refund transaction id, parent transaction id
var_dump($res);
Esempio n. 2
0
<?php

$res = \AlternativePayments\Refund::getAll("trn_nonprofitpen1");
var_dump($res);
Esempio n. 3
0
<?php

use AlternativePayments\Model\ReturnReason;
$obj = new \AlternativePayments\Model\Refund();
$obj->setReason(ReturnReason::UNSATISFIED_CUSTOMER);
$res = \AlternativePayments\Refund::post($obj, "trn_1cfa454");
var_dump($res);