mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
WePay
This commit is contained in:
parent
a441b3f79e
commit
62811d968b
@ -114,6 +114,10 @@ class WePayPaymentDriver extends BaseDriver
|
|||||||
|
|
||||||
public function authorizeView(array $data)
|
public function authorizeView(array $data)
|
||||||
{
|
{
|
||||||
|
$data['gateway'] = $this->wepay;
|
||||||
|
// $data['public_client_id'] = $this->authorize->init()->getPublicClientKey();
|
||||||
|
// $data['api_login_id'] = $this->authorize->company_gateway->getConfigField('apiLoginId');
|
||||||
|
|
||||||
return $this->payment_method->authorizeView($data); //this is your custom implementation from here
|
return $this->payment_method->authorizeView($data); //this is your custom implementation from here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,15 @@
|
|||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('gateway_content')
|
@section('gateway_content')
|
||||||
|
<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->company_gateway->id }}">
|
||||||
|
<input type="hidden" name="payment_method_id" value="1">
|
||||||
|
<input type="hidden" name="gateway_response" id="gateway_response">
|
||||||
|
<input type="hidden" name="is_default" id="is_default">
|
||||||
|
</form>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name: </td>
|
<td>Name: </td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user