This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/checkout/views/checkout/plugin/paypal/before.php

31 lines
783 B
PHP

<?php echo View::factory('cart/view')->set('o',$cart); ?>
<div class="span4">
<fieldset>
<legend>Payment by Paypal</legend>
<p>Please Note: Paypal charges a fee to receive payments, and that fee will be added to your payment.</p>
<div class="dl-horizontal">
<dt>Cart Total</dt>
<dd><?php echo $t=$cart->total(TRUE); ?></dd>
<dt>Payment Fee</dt>
<dd><?php echo Currency::display($f=$checkout->fee($t)); ?></dd>
<dt>Total</dt>
<dd><?php echo Currency::display($t+$f); ?></dd>
</div>
</fieldset>
<div class="row">&nbsp;</div>
<div class="row">
<div class="offset1">
<button type="submit" class="btn btn-primary">Pay Now</button>
<a href="cart/empty" class="btn">Clear</a>
</div>
</div>
</div> <!-- /span -->
<div class="row">&nbsp;</div>