This is a Brazilian Payment Method for Drupal Commerce. Learn more about Boleto at http://en.wikipedia.org/wiki/Boleto.
See module screenshots here
- Main Features:
-
- Out of the box it works with any Issuer Bank if you install their plugins.
-
- Configuration option to enable / disable Issuer Banks.
-
- Any number of banks can be enabled and therefore available to the buyer for picking one at the checkout payment pane.
-
- Buyers can re-print the boleto by visiting their user page any time they want. The re-print option will be available as long as the Order has a pending status.
-
- Custom modules and themes can implement hook_boleto_alter() for manipulating the boleto field values and theming before they get rendered. Here is a code example:
/** * Implements hook_boleto_alter(). */ function MYMODULE_boleto_alter(&$output, &$template_file, $order) { $output['sacado'] = 'Nome do Sacado'; $output['endereco1'] = 'Endereço 1'; $output['endereco2'] = 'Endereço 2'; // Use boleto.tpl.php as example for creating your own boleto template. $template_file = '/home/public_html/meu_boleto_template.php'; } - Custom modules and themes can implement hook_boleto_alter() for manipulating the boleto field values and theming before they get rendered. Here is a code example:
- Drupal Commerce and its dependencies.
- Libraries API 7.x-1.x
- Brazilian Tax Number Fields
- Boleto Library PHP 1.1 or higher| this is an external library also written by me.
- You have to install at least one Issuer Bank plugin, see list of all current available ones here | If the desired bank is not in the list, you can easily write a plugin for it. There is a link for instructions on that page on how to do just that.
Installing Boleto Library PHP:
-
- Download it from here and copy the folder boleto-lib in to either sites/all/libraries or sites/<yourDomain>/libraries.
-
- Download at least one Issuer Bank plugin from this list here and copy it into ../boleto-lib/bancos/XXX Where XXX is the Issuer Bank code.
-
- It might perhaps be a good idea for you to read the Boleto Library PHP's instructions at https://github.com/drupalista-br/Boleto/blob/1.x-dev/README.md.
Testing it:
-
- You might want to install Commerce Kickstart. It does all the tedious settings for Drupal Commerce and creates some dummy products.
-
- Enable Commerce Boleto module normally as you would with any other module
-
- Enable Boleto Payment Method at admin/commerce/config/payment-methods
-
- Edit the configuration settings at admin/commerce/config/payment-methods/manage/commerce_payment_boleto (Click on the "Edit" operation under Actions)
-
- Enable one or more Banks from the collapsible list.
You can also help out by submitting issues for bugs and help support. It is worthy checking out the watch dog log if any unexpected result comes out.
You are very much encoraged, if being the case for, to submit patches along too.
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.2 sites report using this module
- Created by FranciscoLuz on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


