2021-08-16 06:05:45 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
|
|
|
*
|
2021-10-05 16:19:38 +02:00
|
|
|
* @license https://opensource.org/licenses/AAL
|
2021-08-16 06:05:45 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\PaymentDrivers\Stripe;
|
|
|
|
|
2021-10-05 16:19:38 +02:00
|
|
|
use App\Http\Requests\Request;
|
|
|
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
|
|
|
use App\PaymentDrivers\Common\MethodInterface;
|
2021-10-05 16:31:48 +02:00
|
|
|
use App\PaymentDrivers\StripePaymentDriver;
|
2021-08-16 06:05:45 +02:00
|
|
|
|
2021-10-05 16:19:38 +02:00
|
|
|
class SEPA implements MethodInterface
|
2021-08-16 06:05:45 +02:00
|
|
|
{
|
2021-10-05 16:31:48 +02:00
|
|
|
/** @var StripePaymentDriver */
|
|
|
|
public StripePaymentDriver $stripe;
|
|
|
|
|
|
|
|
public function __construct(StripePaymentDriver $stripe)
|
|
|
|
{
|
|
|
|
$this->stripe = $stripe;
|
|
|
|
}
|
2021-10-05 16:34:19 +02:00
|
|
|
|
|
|
|
public function authorizeView($data)
|
|
|
|
{
|
|
|
|
return render('gateways.stripe.sofort.authorize', $data);
|
|
|
|
}
|
2021-08-16 06:05:45 +02:00
|
|
|
|
2021-10-05 16:19:38 +02:00
|
|
|
public function authorizeResponse(Request $request) { }
|
2021-08-16 06:05:45 +02:00
|
|
|
|
2021-10-05 16:19:38 +02:00
|
|
|
public function paymentView(array $data) { }
|
2021-08-16 06:05:45 +02:00
|
|
|
|
2021-10-05 16:19:38 +02:00
|
|
|
public function paymentResponse(PaymentResponseRequest $request) { }
|
2021-08-16 06:05:45 +02:00
|
|
|
}
|