mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 11:04:34 -04:00
Fixes for authorize
This commit is contained in:
parent
ed1539db50
commit
a8daa31167
@ -68,7 +68,7 @@ class AuthorizePaymentMethod
|
|||||||
{
|
{
|
||||||
$data = $request->all();
|
$data = $request->all();
|
||||||
|
|
||||||
$this->payment_method = $data['payment_method_id'];
|
$this->payment_method_id = $data['method'];
|
||||||
|
|
||||||
switch ($this->payment_method) {
|
switch ($this->payment_method) {
|
||||||
case GatewayType::CREDIT_CARD:
|
case GatewayType::CREDIT_CARD:
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
@endpush
|
@endpush
|
||||||
|
|
||||||
@section('body')
|
@section('body')
|
||||||
<form action="{{ route('client.payment_methods.store') }}" method="post" id="server_response">
|
<form action="{{ route('client.payment_methods.store', ['method' => App\Models\GatewayType::CREDIT_CARD]) }}" method="post" id="server_response">
|
||||||
|
|
||||||
@csrf
|
@csrf
|
||||||
<input type="hidden" name="company_gateway_id" value="{{ $gateway->id }}">
|
<input type="hidden" name="company_gateway_id" value="{{ $gateway->id }}">
|
||||||
<input type="hidden" name="payment_method_id" value="1">
|
<input type="hidden" name="payment_method_id" value="1">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user