1: Composer Install
composer require goodpayments/datatrans
2: assets creating
php artisan vendor:publish --force --provider="GoodPayments\Datatrans\Providers\DatatransServiceProvider
3: Database Creating
php artisan migrate
4: Table values add
php artisan db:seed --class=SettingSeeder
APP_URL/login
APP_URL/registration
APP_URL/datatrans-service
This needs LOGIN
APP_URL/datatrans-category
APP_URL/datatrans-service-list
APP_URL/datatrans-setting
Admin can Edit Setting (Day number, Start Time, End Time, Payment enable)
APP_URL/datatrans-order
1 : oauth-credentials.json GET
This Json is oauth-credentials.json
2 : Get Calendar and service-account-credentials.json
This Json is service-account-credentials.json and GOOGLE_CALENDAR_ID is your Gmail
3 : You have to write your GOOGLE_CALENDAR_AUTH_PROFILE and GOOGLE_CALENDAR_ID
GOOGLE_CALENDAR_AUTH_PROFILE=oauth
GOOGLE_CALENDAR_ID=yourgmail@gmail.com
4 : oauth-token.json get
oauth-token.json creating
5 : all JSONs have to save yourapp/storage/app/google-calendar/JSON
you have to add your SendGrid API key in env file and Sender mail
You have to use your merchantId and refno