BF stripe api

This commit is contained in:
Fabian @ Blax Software 2025-12-18 10:18:42 +01:00
parent a12738db1c
commit 4252471d86
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if (config('shop.stripe.enabled', false) && !Route::has('shop.stripe.checkout'))
Route::prefix($config['prefix'])
->middleware($config['middleware'])
->name($config['name_prefix'])
->group(function () {
->group(function () use ($config) {
// Stripe Checkout
Route::post('stripe/checkout/{cartId}', [StripeCheckoutController::class, 'createCheckoutSession'])
->name('stripe.checkout');