1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Ninja/PaymentDrivers/PagSeguroPaymentDriver.php
2019-01-30 21:45:46 +11:00

18 lines
333 B
PHP
Executable File

<?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;
}
}