error.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php include('header.php') ?>
  2. <section class="nav">
  3. <ul>
  4. <li class="lead" > Payment Method</li>
  5. <li class="active lead" > Done</li>
  6. </ul>
  7. </section>
  8. <section class="confirmation">
  9. <label class="failed" for="" >Payment Failed</label>
  10. <!-- <label class="failed" for="" >Failed</label> -->
  11. <small>Error while processing your payment</small>
  12. </section>
  13. <div class="h-seperator"></div>
  14. <?php if(isset($_REQUEST['error_msg'])) : ?>
  15. <section>
  16. <div class="error"><?php echo $_REQUEST['error_msg']?></div>
  17. </section>
  18. <div class="h-seperator"></div>
  19. <?php endif; ?>
  20. <?php if(isset($_REQUEST['merchant_reference'])): ?>
  21. <section class="details">
  22. <h3>Response Details</h3>
  23. <br/>
  24. <table>
  25. <tr>
  26. <th>
  27. Parameter Name
  28. </th>
  29. <th>
  30. Parameter Value
  31. </th>
  32. </tr>
  33. <?php
  34. foreach($_REQUEST as $k => $v) {
  35. echo "<tr>";
  36. echo "<td>$k</td><td>$v</td>";
  37. echo "</tr>";
  38. }
  39. ?>
  40. </table>
  41. </section>
  42. <?php endif; ?>
  43. <div class="h-seperator"></div>
  44. <section class="actions">
  45. <a class="btm" href="index.php">New Order</a>
  46. </section>
  47. <?php include('footer.php') ?>