Add gateway initialization

This commit is contained in:
Lars Kusch 2021-10-05 16:31:48 +02:00
parent 58d2e4b174
commit 6cc30a2454

View File

@ -15,9 +15,17 @@ namespace App\PaymentDrivers\Stripe;
use App\Http\Requests\Request;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\Common\MethodInterface;
use App\PaymentDrivers\StripePaymentDriver;
class SEPA implements MethodInterface
{
/** @var StripePaymentDriver */
public StripePaymentDriver $stripe;
public function __construct(StripePaymentDriver $stripe)
{
$this->stripe = $stripe;
}
public function authorizeView(array $data) { }
public function authorizeResponse(Request $request) { }