mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for authorize
This commit is contained in:
parent
ed1539db50
commit
a8daa31167
@ -68,7 +68,7 @@ class AuthorizePaymentMethod
|
||||
{
|
||||
$data = $request->all();
|
||||
|
||||
$this->payment_method = $data['payment_method_id'];
|
||||
$this->payment_method_id = $data['method'];
|
||||
|
||||
switch ($this->payment_method) {
|
||||
case GatewayType::CREDIT_CARD:
|
||||
|
@ -17,7 +17,8 @@
|
||||
@endpush
|
||||
|
||||
@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
|
||||
<input type="hidden" name="company_gateway_id" value="{{ $gateway->id }}">
|
||||
<input type="hidden" name="payment_method_id" value="1">
|
||||
|
Loading…
Reference in New Issue
Block a user