1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Ninja/PaymentDrivers/PayPalProPaymentDriver.php

21 lines
406 B
PHP
Raw Normal View History

2016-06-20 16:14:43 +02:00
<?php namespace App\Ninja\PaymentDrivers;
class PayPalProPaymentDriver extends BasePaymentDriver
{
2016-06-22 20:42:09 +02:00
public function gatewayTypes()
2016-06-20 16:14:43 +02:00
{
return [
GATEWAY_TYPE_CREDIT_CARD
];
}
protected function paymentDetails($paymentMethod = false)
{
$data = parent::paymentDetails();
$data['ButtonSource'] = 'InvoiceNinja_SP';
return $data;
}
}