Integration with Intuit - get accounting details for products
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\{AdminController,
|
||||
use App\Http\Controllers\{AccountingController,
|
||||
AdminController,
|
||||
CheckoutController,
|
||||
ProductController,
|
||||
ResellerServicesController,
|
||||
WelcomeController};
|
||||
ResellerServicesController};
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -34,7 +34,9 @@ Route::group(['middleware'=>['auth:api','role:reseller']], function() {
|
||||
Route::group(['middleware'=>'auth:api'], function() {
|
||||
Route::post('/u/checkout/fee/{o}',[CheckoutController::class,'fee'])
|
||||
->where('o','[0-9]+');
|
||||
|
||||
Route::any('/intuit/accounting/list',[AccountingController::class,'list']);
|
||||
});
|
||||
|
||||
Route::any('/intuit/webhook',[WelcomeController::class,'webhook'])
|
||||
->where('o','[0-9]+');
|
||||
// @todo Take the specific 'intuit' out of this url, to enable other accounting methods
|
||||
Route::any('/intuit/webhook',[AccountingController::class,'webhook']);
|
Reference in New Issue
Block a user