mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
7c776da4c0
* Pagarme (#3) * revert error reporting * fix for non boolean output * Increment notification-pusher version * fix env variable * update routes * Improve error handling for API_SECRET when testing API endpoint credentials * exclude ping from Token check * Google OAuth - Authentication with a backend server * Refactor * fix for client_id * JSON formatting * Update ActivityTransformer.php add task id to activity transformer * include project in task transformer * update dependencies * Payment Drivers * transaction reference * add PagSeguro to drivers table * Update ApiCheck.php * Update PagSeguroPaymentDriver.php
18 lines
333 B
PHP
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;
|
|
}
|
|
|
|
|
|
}
|