badaso / midtrans-module
payment gateway using midtrans for badaso
Installs: 297
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 1
Open Issues: 2
Language:Vue
pkg:composer/badaso/midtrans-module
Requires
- badaso/commerce-module: ^0.3.0
- badaso/core: ^2.0
- midtrans/midtrans-php: ^2.5
This package is auto-updated.
Last update: 2025-10-08 12:53:09 UTC
README
Use midtrans payment gateway
Installation
- Install badaso first with commerce module installed. Also you can install commerce theme if you want to. After that, you can install the module with the following command.
composer require badaso/midtrans-module
- Run the following command to easily setup the module.
php artisan migrate php artisan badaso-midtrans:setup composer dump-autoload php artisan db:seed --class=BadasoMidtransModuleSeeder
- Add the plugins to your
MIX_BADASO_MODULESto.env. If you have another plugins installed, include them using delimiter comma (,).
MIX_BADASO_MODULES=midtrans-module
- Add the plugins menu to your
MIX_BADASO_MENUto.env. If you have another menu, include them using delimiter comma (,).
MIX_BADASO_MENU=admin,midtrans-module
-
Fill the other variables in .env file.
MIDTRANS_MERCHANT_IDRequired. Merchant ID from midtrans dashboard.MIDTRANS_CLIENT_KEYRequired. Client KEY from midtrans dashboard.MIDTRANS_SERVER_KEYRequired. Server KEY from midtrans dashboard.
-
Fill the payment config in
badaso-commerce.php. For example:'payments' => ['Uasoft\Badaso\Module\Midtrans\BadasoMidtransModule']