return new RedirectResponse('https://example.com'
);
} public function finalize(AsyncPaymentTransactionStruct
$transaction, Request
$request, SalesChannelContext
$salesChannelContext): void
{ } },
PreparedPaymentHandlerInterface::
class => new class() implements PreparedPaymentHandlerInterface
{ public function validate(Cart
$cart, RequestDataBag
$requestDataBag, SalesChannelContext
$context): Struct
{ return new ArrayStruct();
} public function capture(PreparedPaymentTransactionStruct
$transaction, RequestDataBag
$requestDataBag, SalesChannelContext
$context, Struct
$preOrderPaymentStruct): void
{ } },
RefundPaymentHandlerInterface::
class => new class() implements RefundPaymentHandlerInterface
{ public function refund(string
$refundId, Context
$context): void
{ } },