/
zoho-bitbuck
/
zoho
/
routes
/
Upload File
HOME
<?php //Authorizatin Routest zoho_subscriptions Route::get('/xero-zoho_subscriptions-authorize', "Xero\AuthorizationController@authorize_xero_zoho_subscriptions"); Route::get('/xero-zoho_subscriptions-callback', "Xero\AuthorizationController@callback_xero_zoho_subscriptions"); //Webhooks Route::post('/invoice', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@invoice"); Route::get('/invoicetest', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@invoice"); Route::get('/test_case', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@test_case"); Route::get('/migration', function () { try { echo 'init migrate...<br>'; Artisan::call('migrate'); echo 'done migrate'; } catch (Exception $e) { dd($e); echo 'allready installed'; } }); Route::get('/clear-cache', function() { Artisan::call('cache:clear'); Artisan::call('route:clear'); Artisan::call('config:clear'); Artisan::call('config:cache'); Artisan::call('view:clear'); return "Cache is cleared"; }); Route::get('/logs', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@logs"); Route::get('/logs-available', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@logs_available"); Route::get('/logs-preview', "Zoho\ZohoSubscriptions\ZohoSubscriptionsController@preview_log");