|
16 | 16 | </p> |
17 | 17 | {else} |
18 | 18 | <form action="{$link->getModuleLink('prestapaystack', 'confirm', [], true)|escape:'html'}" id="paystack_form" method="post"> |
19 | | - <div class="box cheque-box"> |
20 | | - <h3 class="page-subheading"> |
| 19 | + <div class="box cheque-box"> |
| 20 | + <h3 class="page-subheading"> |
21 | 21 | {l s='PAYSTACK Payment' mod='prestapaystack'} |
22 | | - </h3> |
23 | | - <p class="cheque-indent"> |
24 | | - <strong class="dark"> |
| 22 | + </h3> |
| 23 | + <p class="cheque-indent"> |
| 24 | + <strong class="dark"> |
25 | 25 | {l s='You have chosen to pay with Paystack.' mod='prestapaystack'} {l s='Here is a short summary of your order:' mod='prestapaystack'} |
26 | | - </strong> |
| 26 | + </strong> |
27 | 27 |
|
28 | | - </p> |
29 | | - <p> |
30 | | - - {l s='The total amount of your order is' mod='prestapaystack'} |
31 | | - <span id="amount" class="price">{displayPrice price=$total_amount}</span> |
| 28 | + </p> |
| 29 | + <p> |
| 30 | + - {l s='The total amount of your order is' mod='prestapaystack'} |
| 31 | + <span id="amount" class="price">{displayPrice price=$total_amount}</span> |
32 | 32 | {if $use_taxes == 1} |
33 | 33 | {l s='(tax incl.)' mod='prestapaystack'} |
34 | 34 | {/if} |
35 | | - </p> |
36 | | - <p> |
37 | | - - |
| 35 | + </p> |
| 36 | + <p> |
| 37 | + - |
38 | 38 | {if $currencies|@count > 1} |
39 | 39 | {l s='We allow several currencies to be sent via MyMod Payment.' mod='prestapaystack'} |
40 | | - <div class="form-group"> |
41 | | - <label>{l s='Choose one of the following:' mod='prestapaystack'}</label> |
42 | | - <select id="currency_payment" class="form-control" name="currency_payment"> |
| 40 | + <div class="form-group"> |
| 41 | + <label>{l s='Choose one of the following:' mod='prestapaystack'}</label> |
| 42 | + <select id="currency_payment" class="form-control" name="currency_payment"> |
43 | 43 | {foreach from=$currencies item=currency} |
44 | | - <option value="{$currency.id_currency}" {if $currency.id_currency == $cart_currency}selected="selected"{/if}> |
| 44 | + <option value="{$currency.id_currency}" {if $currency.id_currency == $cart_currency}selected="selected"{/if}> |
45 | 45 | {$currency.name} |
46 | | - </option> |
| 46 | + </option> |
47 | 47 | {/foreach} |
48 | | - </select> |
49 | | - </div> |
| 48 | + </select> |
| 49 | + </div> |
50 | 50 | {else} |
51 | 51 | {l s='We allow the following currency to be sent via Paystack:' mod='prestapaystack'} <b>{$currencies.0.name}</b> |
52 | 52 | <input type="hidden" name="currency_payment" value="{$currencies.0.id_currency}" /> |
53 | 53 |
|
| 54 | + {/if} |
| 55 | + |
54 | 56 | <input type="hidden" name="amounttotal" value="{$total_amount}" /> |
55 | 57 | <input type="hidden" name="email" value="{$email}" /> |
56 | | - <input type="hidden" name="txn_code" value="{$code}" /> |
57 | | - {/if} |
58 | | - </p> |
| 58 | + <input type="hidden" name="txn_code" value="{$code}" /> |
| 59 | + </p> |
59 | 60 | <br /> |
60 | 61 | ITEMS: |
61 | 62 |
|
62 | 63 | {foreach from=$products item=product} |
63 | 64 | <p> |
64 | | - {$product.name} x <b>{$product.cart_quantity}</b> - {displayPrice price=$product.total_wt} |
| 65 | + {$product.name} x <b>{$product.cart_quantity}</b> - {displayPrice price=$product.total_wt} |
65 | 66 | </p> |
66 | 67 | {/foreach} |
67 | | - </div> |
| 68 | + </div> |
68 | 69 |
|
69 | | - <p class="cart_navigation clearfix" id="cart_navigation" style="display:inline-block;"> |
70 | | - <a |
71 | | - class="button-exclusive btn btn-default" |
72 | | - href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'html':'UTF-8'}"> |
73 | | - <i class="icon-chevron-left"></i>{l s='Other payment methods' mod='prestapaystack'} |
74 | | - </a> |
| 70 | + <p class="cart_navigation clearfix" id="cart_navigation" style="display:inline-block;"> |
| 71 | + <a |
| 72 | + class="button-exclusive btn btn-default" |
| 73 | + href="{$link->getPageLink('order', true, NULL, "step=3")|escape:'html':'UTF-8'}"> |
| 74 | + <i class="icon-chevron-left"></i>{l s='Other payment methods' mod='prestapaystack'} |
| 75 | + </a> |
75 | 76 | </p> |
76 | 77 | {if $style == 'inline'} |
77 | 78 | <script src="https://js.paystack.co/v1/inline.js"></script> |
|
0 commit comments