Add PayPal, Stripe, CSV-Export; fix .env.production issue
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 7s
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 7s
- PayPal: Checkout-Integration via srmklive/paypal, Weiterleitung zu PayPal, Bestellung wird nach Capture automatisch auf payment_received gesetzt - Stripe: Payment Elements im Checkout, Intent-API, Zahlung direkt bestätigt - CSV-Export: Admin → Bestellungen → CSV exportieren (UTF-8 BOM für Excel) - PayPal/Stripe nur sichtbar wenn Keys in .env gesetzt - .env.example um PAYPAL_* und STRIPE_* Keys erweitert Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,10 @@ class CheckoutController extends Controller
|
||||
|
||||
session(['checkout_data' => $data]);
|
||||
|
||||
if ($data['payment_method'] === 'paypal') {
|
||||
return redirect()->route('paypal.redirect');
|
||||
}
|
||||
|
||||
return redirect()->route('checkout.confirm');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user