1 changed files with 78 additions and 0 deletions
@ -0,0 +1,78 @@ |
|||||
|
{include file="sections/header.tpl"} |
||||
|
|
||||
|
<form class="form-horizontal" method="post" autocomplete="off" role="form" action="{$_url}paymentgateway/pipprapay"> |
||||
|
<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">PippraPay Settings</div> |
||||
|
<div class="panel-body"> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-md-2 control-label">API Key</label> |
||||
|
<div class="col-md-6"> |
||||
|
<input type="text" class="form-control" id="pipprapay_api_key" name="pipprapay_api_key" |
||||
|
value="{$_c['pipprapay_api_key']}" placeholder="Enter your PippraPay API Key"> |
||||
|
<span class="help-block">Your PippraPay API Key</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-md-2 control-label">Base URL</label> |
||||
|
<div class="col-md-6"> |
||||
|
<input type="text" class="form-control" id="pipprapay_base_url" name="pipprapay_base_url" |
||||
|
value="{$_c['pipprapay_base_url']}" placeholder="https://pay.wifibills.com/api"> |
||||
|
<span class="help-block">PippraPay API Base URL</span> |
||||
|
</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/pipprapay"> |
||||
|
<span class="help-block">Set this URL in your PippraPay dashboard</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-md-2 control-label">Create Charge URL</label> |
||||
|
<div class="col-md-6"> |
||||
|
<input type="text" readonly class="form-control" onclick="this.select()" |
||||
|
value="https://pay.wifibills.com/api/create-charge"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-md-2 control-label">Verify Payment URL</label> |
||||
|
<div class="col-md-6"> |
||||
|
<input type="text" readonly class="form-control" onclick="this.select()" |
||||
|
value="https://pay.wifibills.com/api/verify-payments"> |
||||
|
</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> |
||||
|
<a href="{$_url}paymentgateway/list" class="btn btn-default">{$_L['Cancel']}</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="alert alert-info"> |
||||
|
<h4><i class="fa fa-info-circle"></i> Configuration Instructions</h4> |
||||
|
<ol> |
||||
|
<li>Get your API key from PippraPay dashboard</li> |
||||
|
<li>Set the callback URL in your PippraPay dashboard to: <code>{$_url}callback/pipprapay</code></li> |
||||
|
<li>Save the settings</li> |
||||
|
<li>Test the payment gateway</li> |
||||
|
</ol> |
||||
|
</div> |
||||
|
|
||||
|
<div class="alert alert-warning"> |
||||
|
<h4><i class="fa fa-warning"></i> Important Notes</h4> |
||||
|
<ul> |
||||
|
<li>Ensure your server can connect to <code>https://pay.wifibills.com</code></li> |
||||
|
<li>Amounts are automatically converted to kobo (×100) for NGN currency</li> |
||||
|
<li>Set up Telegram notifications to receive payment alerts</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</form> |
||||
|
|
||||
|
{include file="sections/footer.tpl"} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue