chore: add payment routes for our UPS
This commit is contained in:
@@ -69,7 +69,7 @@ Route::middleware(['auth', 'verified', CheckUserBanned::class])->group(function
|
||||
Route::get('dashboard/compose-email', Dashboard::class)->name('dashboard.compose');
|
||||
Route::get('dashboard/support', Support::class)->name('dashboard.support');
|
||||
|
||||
// Checkout Routes
|
||||
// LEGACY: Old Stripe Cashier checkout route (deprecated - use unified payment system)
|
||||
Route::get('checkout/{plan}', function ($pricing_id) {
|
||||
$plans = config('app.plans');
|
||||
$pricingData = [];
|
||||
@@ -91,6 +91,7 @@ Route::middleware(['auth', 'verified', CheckUserBanned::class])->group(function
|
||||
abort(404);
|
||||
})->name('checkout');
|
||||
|
||||
// LEGACY: Payment status routes (used by both legacy and unified systems)
|
||||
Route::get('dashboard/success', [Dashboard::class, 'paymentStatus'])->name('checkout.success')->defaults('status', 'success');
|
||||
Route::get('dashboard/cancel', [Dashboard::class, 'paymentStatus'])->name('checkout.cancel')->defaults('status', 'cancel');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user