php 8.2
This commit is contained in:
parent
18d8d173ca
commit
2be38141b5
@ -29,8 +29,8 @@ class StripeController extends Controller
|
|||||||
$clientSessionId = Str::uuid();
|
$clientSessionId = Str::uuid();
|
||||||
|
|
||||||
$priceIds = [
|
$priceIds = [
|
||||||
6 => 'price_1S51zxGaZ3yeYkzWYb0wSt4j',
|
6 => env('STRIPE_6_PRICE'),
|
||||||
18 => 'price_1S5464GaZ3yeYkzWh8RuJfab',
|
18 => env('STRIPE_18_PRICE'),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!isset($priceIds[$count])) {
|
if (!isset($priceIds[$count])) {
|
||||||
@ -76,7 +76,7 @@ class StripeController extends Controller
|
|||||||
$userForm = $request->input('userForm');
|
$userForm = $request->input('userForm');
|
||||||
$dateAppointment = $request->input('selectedDate');
|
$dateAppointment = $request->input('selectedDate');
|
||||||
$clientSessionId = Str::uuid();
|
$clientSessionId = Str::uuid();
|
||||||
$priceId = 'price_1S5ifuGaZ3yeYkzWsgrOTpgT';
|
$priceId = env('STRIPE_BOOKING');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$session = Session::create([
|
$session = Session::create([
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"guzzlehttp/guzzle": "^7.10",
|
"guzzlehttp/guzzle": "^7.10",
|
||||||
"inertiajs/inertia-laravel": "^2.0",
|
"inertiajs/inertia-laravel": "^2.0",
|
||||||
"laravel/framework": "^12.0",
|
"laravel/framework": "^11.0",
|
||||||
"laravel/sanctum": "^4.0",
|
"laravel/sanctum": "^4.0",
|
||||||
"laravel/tinker": "^2.10.1",
|
"laravel/tinker": "^2.10.1",
|
||||||
"laravel/wayfinder": "^0.1.9",
|
"laravel/wayfinder": "^0.1.9",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user