This commit is contained in:
Nyavokevin 2025-10-24 17:09:00 +03:00
parent 18d8d173ca
commit 2be38141b5
2 changed files with 4 additions and 4 deletions

View File

@ -29,8 +29,8 @@ class StripeController extends Controller
$clientSessionId = Str::uuid();
$priceIds = [
6 => 'price_1S51zxGaZ3yeYkzWYb0wSt4j',
18 => 'price_1S5464GaZ3yeYkzWh8RuJfab',
6 => env('STRIPE_6_PRICE'),
18 => env('STRIPE_18_PRICE'),
];
if (!isset($priceIds[$count])) {
@ -76,7 +76,7 @@ class StripeController extends Controller
$userForm = $request->input('userForm');
$dateAppointment = $request->input('selectedDate');
$clientSessionId = Str::uuid();
$priceId = 'price_1S5ifuGaZ3yeYkzWsgrOTpgT';
$priceId = env('STRIPE_BOOKING');
try {
$session = Session::create([

View File

@ -12,7 +12,7 @@
"php": "^8.2",
"guzzlehttp/guzzle": "^7.10",
"inertiajs/inertia-laravel": "^2.0",
"laravel/framework": "^12.0",
"laravel/framework": "^11.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.10.1",
"laravel/wayfinder": "^0.1.9",