IfthenPay Ifthenpay Classes for PHP.
$ composer require pebarradasaero/ifthenpay
use pebarradasaero\IfthenPay\Helpers\Multibanco;
class XPTO {
public function process_payment() {
$reference = Multibanco::generateReference( $ent_id, $subent_id, $order_id, $order_value );
}
}