mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Initialize Razorpay driver
This commit is contained in:
parent
eaa94bdebe
commit
2e0ccb6f7f
@ -16,9 +16,19 @@ namespace App\PaymentDrivers\Razorpay;
|
|||||||
use App\Http\Requests\Request;
|
use App\Http\Requests\Request;
|
||||||
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest;
|
||||||
use App\PaymentDrivers\Common\MethodInterface;
|
use App\PaymentDrivers\Common\MethodInterface;
|
||||||
|
use App\PaymentDrivers\RazorpayPaymentDriver;
|
||||||
|
|
||||||
class Hosted implements MethodInterface
|
class Hosted implements MethodInterface
|
||||||
{
|
{
|
||||||
|
protected RazorpayPaymentDriver $razorpay;
|
||||||
|
|
||||||
|
public function __construct(RazorpayPaymentDriver $razorpay)
|
||||||
|
{
|
||||||
|
$this->razorpay = $razorpay;
|
||||||
|
|
||||||
|
$this->razorpay->init();
|
||||||
|
}
|
||||||
|
|
||||||
public function authorizeView(array $data) { }
|
public function authorizeView(array $data) { }
|
||||||
|
|
||||||
public function authorizeResponse(Request $request) { }
|
public function authorizeResponse(Request $request) { }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user