Property | Type | Description | |
---|---|---|---|
$invoiceRepo | |||
$paymentService | |||
$userMailer |
Method | Description | |
---|---|---|
__construct ( |
OnlinePaymentController constructor. | |
doPayment ( |
||
getBankInfo ( $routingNumber ) : Illuminate\Http\JsonResponse | ||
handleBuyNow ( |
||
handlePaymentWebhook ( $accountKey, $gatewayId ) : Illuminate\Http\JsonResponse | ||
offsitePayment ( boolean $invitationKey = false, mixed $gatewayTypeAlias = false ) : Illuminate\Http\RedirectResponse | ||
showPayment ( $invitationKey, $gatewayTypeAlias = false, boolean $sourceId = false ) : Illuminate\Http\RedirectResponse |
Method | Description | |
---|---|---|
error ( $paymentDriver, $exception, boolean $showPayment = false ) : Illuminate\Http\RedirectResponse |
public __construct ( |
||
$paymentService | ||
$userMailer | ||
$invoiceRepo |
public doPayment ( |
||
$request | ||
return | Illuminate\Http\RedirectResponse |
public getBankInfo ( $routingNumber ) : Illuminate\Http\JsonResponse | ||
$routingNumber | ||
return | Illuminate\Http\JsonResponse |
public handleBuyNow ( |
||
$clientRepo | ||
$invoiceService |
public handlePaymentWebhook ( $accountKey, $gatewayId ) : Illuminate\Http\JsonResponse | ||
$accountKey | ||
$gatewayId | ||
return | Illuminate\Http\JsonResponse |
public offsitePayment ( boolean $invitationKey = false, mixed $gatewayTypeAlias = false ) : Illuminate\Http\RedirectResponse | ||
$invitationKey | boolean | |
$gatewayTypeAlias | mixed | |
return | Illuminate\Http\RedirectResponse |
public showPayment ( $invitationKey, $gatewayTypeAlias = false, boolean $sourceId = false ) : Illuminate\Http\RedirectResponse | ||
$invitationKey | ||
$sourceId | boolean | |
return | Illuminate\Http\RedirectResponse |
protected InvoiceRepository,App\Ninja\Repositories $invoiceRepo | ||
return |
protected PaymentService,App\Services $paymentService | ||
return |