1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Ninja/PaymentDrivers/PayPalProPaymentDriver.php
2016-06-22 21:42:09 +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;
}
}