1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Scaffold Hosted class

This commit is contained in:
Benjamin Beganović 2021-10-07 16:35:58 +02:00
parent 59e563a1ad
commit 3fa811f679
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\PaymentDrivers\Razorpay;
use App\Http\Requests\Request;
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
use App\PaymentDrivers\Common\MethodInterface;
class Hosted implements MethodInterface
{
public function authorizeView(array $data) { }
public function authorizeResponse(Request $request) { }
public function paymentView(array $data) { }
public function paymentResponse(PaymentResponseRequest $request) { }
}

View File

@ -16,6 +16,7 @@ use App\Models\GatewayType;
use App\Models\Payment;
use App\Models\PaymentHash;
use App\Models\SystemLog;
use App\PaymentDrivers\Razorpay\Hosted;
use App\Utils\Traits\MakesHash;
class RazorpayPaymentDriver extends BaseDriver