https://github.com/uasoft-indonesia/badaso-midtrans-module
Use midtrans payment gateway on Badaso
https://github.com/uasoft-indonesia/badaso-midtrans-module
badaso commerce midtrans payment-gateway
Last synced: 6 months ago
JSON representation
Use midtrans payment gateway on Badaso
- Host: GitHub
- URL: https://github.com/uasoft-indonesia/badaso-midtrans-module
- Owner: uasoft-indonesia
- Created: 2021-10-12T05:00:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T09:48:53.000Z (over 1 year ago)
- Last Synced: 2025-02-16T05:42:14.549Z (8 months ago)
- Topics: badaso, commerce, midtrans, payment-gateway
- Language: Vue
- Homepage:
- Size: 1.03 MB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# badaso/midtrans-module
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.```bash
composer require badaso/midtrans-module
```- Run the following command to easily setup the module.
```bash
php artisan migrate
php artisan badaso-midtrans:setup
composer dump-autoload
php artisan db:seed --class=BadasoMidtransModuleSeeder
```- Add the plugins to your `MIX_BADASO_MODULES` to `.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_MENU` to `.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_ID` Required. Merchant ID from midtrans dashboard.
- `MIDTRANS_CLIENT_KEY` Required. Client KEY from midtrans dashboard.
- `MIDTRANS_SERVER_KEY` Required. Server KEY from midtrans dashboard.- Fill the payment config in `badaso-commerce.php`. For example:
- `'payments' => ['Uasoft\Badaso\Module\Midtrans\BadasoMidtransModule']`