Handles direct bank transfer (ACH payment). Currently supports HSBC and UOB banks.
simmatrix/laravel-ach-processor is a Laravel package for handles direct bank transfer (ach payment). currently supports hsbc and uob banks..
It currently has 2 GitHub stars and 68 downloads on Packagist (latest version 1.2.1).
Install it with composer require simmatrix/laravel-ach-processor.
Discover more Laravel packages by simmatrix
or browse all Laravel packages to compare alternatives.
Last updated
Handles direct bank transfer (ACH payment). Currently supports HSBC and UOB banks. Generates files based on payment entries.
This is built based on Laravel COS Processor
Via Composer
$ composer require simmatrix/laravel-ach-processor
Create an adapter that implements Simmatrix\ACHProcessor\Adapter\Beneficiary\BeneficiaryAdapterInterface. This should translate your model into the attributes that will be used in the ACH entries. Refer to Simmatrix\ACHProcessor\Adapter\Beneficiary\ExampleBeneficiaryAdapter for an example.
php artisan vendor:publish should publish a ach_processor.php into the config folder. Edit this with the configuration options for your account. Change "beneficiary_adapter" to the class of the adapter you created earlier.
Call the relevant ACHUploadProcessorFactory subclass (either HsbcAchUploadProcessorFactory or UobAchUploadProcessorFactory) and pass in your beneficiaries, config key, and the payment description.
$beneficiaries = TestPayment::all();
$ach = HsbcAchUploadProcessorFactory::create($beneficiaries, 'ach_processor.hsbc_mri.company_a', 'CashoutOct17');
echo $ach -> getString();
$beneficiaries = TestPayment::all();
$ach = HsbcAchIFileUploadProcessorFactory::create($beneficiaries, 'ach_processor.hsbc_ifile.company_a', 'CashoutOct17');
echo $ach -> getString();
$beneficiaries = TestPayment::all();
$ach = UobAchUploadProcessorFactory::create($beneficiaries, 'ach_processor.uob.company_a', 'CashoutOct17');
echo $ach -> getString();
The MIT License (MIT). Please see License File for more information.