This commit is contained in:
Nyavokevin 2025-10-24 16:46:30 +03:00
parent 1fb31eb605
commit f4fae85212
4 changed files with 686 additions and 796 deletions

View File

@ -29,8 +29,8 @@ class StripeController extends Controller
$clientSessionId = Str::uuid();
$priceIds = [
6 => 'price_1SLMcUGaZ3yeYkzWVgN4XPi2',
18 => 'price_1SL5RVGaZ3yeYkzWmVf0490W',
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",
@ -26,8 +26,8 @@
"laravel/sail": "^1.41",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"pestphp/pest": "^4.0",
"pestphp/pest-plugin-laravel": "^4.0"
"pestphp/pest": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0"
},
"autoload": {
"psr-4": {

1468
composer.lock generated

File diff suppressed because it is too large Load Diff

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{
"name": "oracle",
"name": "KSA-ORACLE",
"lockfileVersion": 3,
"requires": true,
"packages": {