1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Ninja/PaymentDrivers/PayPalProPaymentDriver.php
2016-07-21 15:35:23 +03:00

21 lines
406 B
PHP

<?php namespace App\Ninja\PaymentDrivers;
class PayPalProPaymentDriver extends BasePaymentDriver
{
public function gatewayTypes()
{
return [
GATEWAY_TYPE_CREDIT_CARD
];
}
protected function paymentDetails($paymentMethod = false)
{
$data = parent::paymentDetails();
$data['ButtonSource'] = 'InvoiceNinja_SP';
return $data;
}
}