verpfuschter stand von codex
This commit is contained in:
@@ -123,6 +123,22 @@ class MarketingController extends Controller
|
||||
return $this->checkout($request, $packageId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the purchase wizard.
|
||||
*/
|
||||
public function purchaseWizard(Request $request, $packageId)
|
||||
{
|
||||
$package = Package::findOrFail($packageId)->append(['features', 'limits']);
|
||||
$stripePublishableKey = config('services.stripe.key');
|
||||
$privacyHtml = view('legal.datenschutz-partial', ['locale' => app()->getLocale()])->render();
|
||||
|
||||
return Inertia::render('marketing/PurchaseWizard', [
|
||||
'package' => $package,
|
||||
'stripePublishableKey' => $stripePublishableKey,
|
||||
'paypalClientId' => config('services.paypal.client_id'),
|
||||
'privacyHtml' => $privacyHtml,
|
||||
]);
|
||||
}
|
||||
/**
|
||||
* Checkout for Stripe with auth metadata.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user