aune-io / magento2-autoinvoice
Automatically invoice all complete orders in your Magento 2 store
Installs: 38 458
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 5
Forks: 14
Open Issues: 3
Type:magento2-module
Requires
- php: ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3.0
- magento/framework: 101.0.*|102.0.*|103.0.*
- magento/module-sales: 101.0.*|102.0.*|103.0.*
Requires (Dev)
- php-coveralls/php-coveralls: ~2.1.0
- phpmd/phpmd: @stable
- phpunit/phpunit: ~6.5.13
- squizlabs/php_codesniffer: 3.3.1
This package is auto-updated.
Last update: 2024-10-27 11:12:02 UTC
README
Magento 2 procedure to automatically invoice orders in a given status.
System requirements
This extension supports the following versions of Magento:
- Community Edition (CE) versions 2.2.x and 2.3.x and 2.4.x
- Enterprise Edition (EE) versions 2.2.x and 2.3.x and 2.4.x
Installation
- Require the module via Composer
$ composer require aune-io/magento2-autoinvoice
- Enable the module
$ bin/magento module:enable Aune_AutoInvoice $ bin/magento setup:upgrade
Configuration
The configuration of this module is under Stores > Configuration > Sales > Auto Invoice. There, you will be able to activate processing via cron job, and choose the behaviour of the procedure.
The configuration matrix will allow you to set on for which combinations of status and payment method the extension should invoice the orders, as well as the destination status and capture mode. A configuration example follows.
Usage
The module supports two different usage methods.
Command line
The following command will execute the procedure:
$ bin/magento aune:autoinvoice:process
A dry run mode is also available, just to see what orders would be affected by the procedure:
$ bin/magento aune:autoinvoice:process --dry-run=1
Cron
By activating the cron, the procedure will be automatically executed every hour.
- Login to the admin
- Go to Stores > Configuration > Sales > Auto Invoice
- Set Schedule procedure to yes
- Specify a custom cron expression, if needed
- Clean the cache
Authors, contributors and maintainers
Author:
License
Licensed under the Open Software License version 3.0