Finalized IDOB + small changes concerning redirects
This commit is contained in:
65
templates/idob.phtml
Normal file
65
templates/idob.phtml
Normal file
@ -0,0 +1,65 @@
|
||||
<?php include '__header.phtml'; ?>
|
||||
|
||||
<h2 class="page-header">Betalen via Inforbank Direct Online Betalen</h2>
|
||||
|
||||
<?php if (!$transactie) {
|
||||
?>
|
||||
<div class="alert alert-danger" role="alert"><b>Fout!</b> Deze transactie bestaat niet.</div>
|
||||
<?php
|
||||
|
||||
} else {
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Transactie</div>
|
||||
<div class="panel-body">
|
||||
<b>Transactiereferentie</b>
|
||||
<p><?php echo $transactie['reference']; ?></p>
|
||||
<br/>
|
||||
<b>Ontvangende partij:</b>
|
||||
<p><?php echo $webwinkel; ?></p>
|
||||
<br/>
|
||||
<b>Te betalen:</b>
|
||||
<h3><?php echo money_format('%(#1n', $transactie['amount']); ?></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Omschrijving</div>
|
||||
<div class="panel-body">
|
||||
<?php echo $transactie['description']; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<form class="form-horizontal" method="post" action="">
|
||||
<div class="form-group">
|
||||
<label for="van" class="col-sm-2 control-label">Betalen met</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="van" class="form-control">
|
||||
<?php
|
||||
foreach ($rekeningen as $rekening) {
|
||||
echo "<option value=" . $rekening['nr'] . ">" . $rekening['iban'] . "</option>\n";
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10"><br/>
|
||||
<p>Door het klikken op "Accepteren" hieronder, accepteert u de betaling en zal er <b><?php echo money_format('%(#1n', $transactie['amount']); ?></b> worden overgemaakt aan <b><?php echo $webwinkel; ?></b> ter betaling van het order met de transactierefrentie <b><?php echo $transactie['reference']; ?></b>.<br/><br/>Ga alleen verder als u zeker weet dat deze gegevens kloppen. U kunt ook de omschrijving van de transactie bekijken. Na de betaling wordt u teruggestuurd naar de webshop.
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-default">Accepteren</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
} ?>
|
||||
|
||||
<?php include '__footer.phtml'; ?>
|
5
templates/idobmislukt.phtml
Normal file
5
templates/idobmislukt.phtml
Normal file
@ -0,0 +1,5 @@
|
||||
<?php include '__header.phtml'; ?>
|
||||
|
||||
<div class="alert alert-danger" role="alert"><b>Oeps!</b> De betaling via Inforbank Direct Online Betalen is mislukt. We konden je niet terugsturen naar de webshop. Sorry.</div>
|
||||
|
||||
<?php include '__footer.phtml'; ?>
|
Reference in New Issue
Block a user