Downloads
Adds a simple bank deposit payment method, so that customers may choose to deposit funds into a bank account you nominate.
The store administrator(s) can define the bank account details. If this payment method is selected in the checkout then the account details will be shown to the user in the checkout and order review pages.
It also creates a token called [bank-deposit-account] that will be replaced with the account details (useful for invoices). I use this code in the customer invoice:
<?php if ($order->payment_method == 'bankdeposit') { ?>
<tr>
<td nowrap="nowrap" valign="top">
<b><?php echo t('Account details:'); ?></b>
</td>
<td width="98%">
[bank-deposit-account]
</td>
</tr>
<?php } ?>Update: Somehow the code for the token was missing from version 1.1, it's been reinstated in version 1.2, sorry for any inconvenience caused!
Changelog:
5.x-1.3
- Removes extraneous code and table (Thanks TR)
5.x-1.2
- Reinstated token functionality (Thanks xeeb)
5.x-1.1
- ?
5.x-1.0
- Initial release
Development
| Preview | Attachment | Size |
|---|---|---|
| uc_bankdeposit-5.x-1.3.tar.gz | 1.28 KB |





