Upload files to "system/paymentgateway/ui"
Signed-off-by: nestict <icttechnest@gmail.com>
This commit is contained in:
parent
04e8eb7251
commit
c0f1ed621f
42
system/paymentgateway/ui/bankstkpush.tpl
Normal file
42
system/paymentgateway/ui/bankstkpush.tpl
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{include file="sections/header.tpl"}
|
||||||
|
<div class="container-fluid">
|
||||||
|
<form class="form-horizontal" method="post" role="form" action="{$_url}paymentgateway/BankStkPush" >
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-12">
|
||||||
|
<div class="card card-primary card-hovered card-stacked mb30">
|
||||||
|
<div class="card-header">Fill the details below to complete the bank stk Push</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Enter Bank account number</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="kopokopo_app_key" name="account" placeholder="*************************" value="{$_c['Stkbankacc']}">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Bank Name</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select class="form-control" name="bankname" id="bankstk">
|
||||||
|
<option value="Equity" {if $_c['Stkbankname'] == 'Equity'}selected{/if}>Equity bank</option>
|
||||||
|
<option value="KCB" {if $_c['Stkbankname'] == 'KCB'}selected{/if}>Kenya Commercial Bank</option>
|
||||||
|
<option value="Coop" {if $_c['Stkbankname'] == 'Coop'}selected{/if}>Cooperative Bank of Kenya</option>
|
||||||
|
<option value="Absa" {if $_c['Stkbankname'] == 'Absa'}selected{/if}>Absa Bank Kenya</option>
|
||||||
|
<option value="DTB" {if $_c['Stkbankname'] == 'Dtb'}selected{/if}>Diamond Trust Bank (DTB)</option>
|
||||||
|
<option value="NCBA" {if $_c['Stkbankname'] == 'NCBA'}selected{/if}>NCBA Bank</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre>After aplying these changes, the funds shall be going to the saved bank account, please make sure the bank name and account matches</pre>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-lg-offset-2 col-lg-10">
|
||||||
|
<button class="btn btn-primary waves-effect waves-light" type="submit">Save</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{include file="sections/footer.tpl"}
|
59
system/paymentgateway/ui/flutterwave.tpl
Normal file
59
system/paymentgateway/ui/flutterwave.tpl
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{include file="sections/header.tpl"}
|
||||||
|
|
||||||
|
<form class="form-horizontal" method="post" role="form" action="{$_url}paymentgateway/flutterwave">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-12">
|
||||||
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
|
<div class="panel-heading">Flutterwave Payment Gateway</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Flutterwave Secret Key</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="flutterwave_secret_key" name="flutterwave_secret_key"
|
||||||
|
value="{$_c['flutterwave_secret_key']}">
|
||||||
|
<a href="https://app.flutterwave.com/dashboard/settings/apis/live" target="_blank"
|
||||||
|
class="help-block">https://app.flutterwave.com/dashboard/settings/apis/live</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Payment Channels</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
{foreach $channel as $payment_options}
|
||||||
|
<label class="checkbox-inline"><input type="checkbox" {if strpos($_c['flutterwave_channel'], $payment_options['id']) !== false}checked="true"{/if} id="flutterwave_channel" name="flutterwave_channel[]" value="{$payment_options['id']}"> {$payment_options['name']}</label>
|
||||||
|
{/foreach}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Currency</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select class="form-control" name="flutterwave_currency">
|
||||||
|
{foreach $cur as $currency}
|
||||||
|
<option value="{$currency['id']}"
|
||||||
|
{if $currency['id'] == $_c['flutterwave_currency']}selected{/if}
|
||||||
|
>{$currency['id']} - {$currency['name']}</option>
|
||||||
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
<small class="form-text text-muted">Attention</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-lg-offset-2 col-lg-10">
|
||||||
|
<button class="btn btn-primary waves-effect waves-light"
|
||||||
|
type="submit">{$_L['Save']}</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre>/ip hotspot walled-garden
|
||||||
|
add dst-host=flutterwave.com
|
||||||
|
add dst-host=*.flutterwave.com</pre>
|
||||||
|
<small class="form-text text-muted">Set Telegram Bot to get any error and
|
||||||
|
notification</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
{include file="sections/footer.tpl"}
|
BIN
system/paymentgateway/ui/index.html
Normal file
BIN
system/paymentgateway/ui/index.html
Normal file
Binary file not shown.
63
system/paymentgateway/ui/iotec.tpl
Normal file
63
system/paymentgateway/ui/iotec.tpl
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
{include file="sections/header.tpl"}
|
||||||
|
|
||||||
|
<form class="form-horizontal" method="post" role="form" action="{$_url}paymentgateway/iotec">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-12">
|
||||||
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
|
<div class="panel-heading">ioTec Pay</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Client ID</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="iotec_client_id" name="iotec_client_id" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" value="{$_c['iotec_client_id']}">
|
||||||
|
<small class="form-text text-muted"><a href="https://pay.iotec.io" target="_blank">Contact ioTec Support for credentials</a></small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Client Secret</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="password" class="form-control" id="iotec_client_secret" name="iotec_client_secret" placeholder="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" value="{$_c['iotec_client_secret']}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Wallet ID</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="iotec_wallet_id" name="iotec_wallet_id" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" maxlength="36" value="{$_c['iotec_wallet_id']}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">ioTec Environment</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select class="form-control" name="iotec_env">
|
||||||
|
{foreach $env as $environment}
|
||||||
|
<option value="{$environment['id']}"
|
||||||
|
{if $environment['id'] == $_c['iotec_env']}selected{/if}
|
||||||
|
>{$environment['id']} - {$environment['name']}</option>
|
||||||
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
<small class="form-text text-muted"><font color="red"><b>Sandbox</b></font> is for testing with test numbers. Switch to <font color="green"><b>Live</b></font> for production.</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Callback URL</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" readonly class="form-control" onclick="this.select()" value="{$_url}callback/iotec">
|
||||||
|
<p class="help-block">Register this URL with ioTec Support for transaction notifications</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-lg-offset-2 col-lg-10">
|
||||||
|
<button class="btn btn-primary waves-effect waves-light" type="submit">{$_L['Save']}</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre>Test Numbers for Sandbox:
|
||||||
|
0111777770 to 0111777779 (Success)
|
||||||
|
0111777780 to 0111777789 (Pending)
|
||||||
|
0111777790 to 0111777799 (SentToVendor)
|
||||||
|
0111777990 to 0111777999 (Failed)</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{include file="sections/footer.tpl"}
|
69
system/paymentgateway/ui/mpesa.tpl
Normal file
69
system/paymentgateway/ui/mpesa.tpl
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
{include file="sections/header.tpl"}
|
||||||
|
|
||||||
|
<form class="form-horizontal" method="post" role="form" action="{$_url}paymentgateway/mpesa" >
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-12">
|
||||||
|
<div class="panel panel-primary panel-hovered panel-stacked mb30">
|
||||||
|
<div class="panel-heading">M-Pesa</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Consumer Key</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="mpesa_consumer_key" name="mpesa_consumer_key" placeholder="xxxxxxxxxxxxxxxxx" value="{$_c['mpesa_consumer_key']}">
|
||||||
|
<small class="form-text text-muted"><a href="https://developer.safaricom.co.ke/MyApps" target="_blank">https://developer.safaricom.co.ke/MyApps</a></small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Consumer Secret</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="password" class="form-control" id="mpesa_consumer_secret" name="mpesa_consumer_secret" placeholder="xxxxxxxxxxxxxxxxx" value="{$_c['mpesa_consumer_secret']}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Business Shortcode</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="mpesa_business_code" name="mpesa_business_code" placeholder="xxxxxxx" maxlength="7" value="{$_c['mpesa_business_code']}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Pass Key</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" class="form-control" id="mpesa_pass_key" name="mpesa_pass_key" placeholder="bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919" maxlength="" value="{$_c['mpesa_pass_key']}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">M-Pesa Environment</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<select class="form-control" name="mpesa_env">
|
||||||
|
{foreach $env as $environment}
|
||||||
|
<option value="{$environment['id']}"
|
||||||
|
{if $environment['id'] == $_c['mpesa_env']}selected{/if}
|
||||||
|
>{$environment['id']} - {$environment['name']}</option>
|
||||||
|
{/foreach}
|
||||||
|
</select>
|
||||||
|
<small class="form-text text-muted"><font color="red"><b>Sandbox</b></font> is for testing purpose, please switch to <font color="green"><b>Live</b></font> in production.</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="col-md-2 control-label">Url Notification</label>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<input type="text" readonly class="form-control" onclick="this.select()" value="{$_url}callback/mpesa">
|
||||||
|
<p class="help-block">CallBack URL</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="col-lg-offset-2 col-lg-10">
|
||||||
|
<button class="btn btn-primary waves-effect waves-light" type="submit">{$_L['Save']}</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre>/ip hotspot walled-garden
|
||||||
|
add dst-host=safaricom.co.ke
|
||||||
|
add dst-host=*.safaricom.co.ke</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
{include file="sections/footer.tpl"}
|
Loading…
x
Reference in New Issue
Block a user