Fix Woo sync: exempt webhooks from CSRF and backfill on connect.
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Auto-import catalog and orders after store activation, add manual order sync, and allow WooCommerce webhooks without CSRF tokens. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -41,6 +41,7 @@ Route::middleware(['auth', 'platform.session'])->group(function () {
|
||||
|
||||
Route::get('/dashboard', [DashboardController::class, 'index'])->name('woo.dashboard');
|
||||
Route::get('/orders', [OrderController::class, 'index'])->name('woo.orders.index');
|
||||
Route::post('/orders/sync', [OrderController::class, 'sync'])->name('woo.orders.sync');
|
||||
Route::patch('/orders/{order}/status', [OrderController::class, 'updateStatus'])->name('woo.orders.update-status');
|
||||
Route::get('/products', [ProductController::class, 'index'])->name('woo.products.index');
|
||||
Route::get('/products/create', [ProductController::class, 'create'])->name('woo.products.create');
|
||||
|
||||
Reference in New Issue
Block a user