1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00
invoiceninja/app/Ninja/PaymentDrivers/PagSeguroPaymentDriver.php
2019-01-30 22:25:37 +11:00

18 lines
333 B
PHP

<?php
namespace App\Ninja\PaymentDrivers;
class PagSeguroPaymentDriver extends BasePaymentDriver
{
protected function paymentDetails($paymentMethod = false)
{
$data = parent::paymentDetails($paymentMethod);
$data['transactionReference'] = $this->invoice()->invoice_number;
return $data;
}
}