Skip to content

cariuk/badaso-midtrans-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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.
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_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_ID Required. Client ID from midtrans dashboard.
    • MIDTRANS_SERVER_ID Required. Server ID from midtrans dashboard.
  • Fill the payment config in badaso-commerce.php. For example:

    • 'payments' => ['Uasoft\Badaso\Module\Midtrans\BadasoMidtransModule']

About

Use midtrans payment gateway on Badaso

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 58.3%
  • PHP 35.3%
  • JavaScript 6.4%