Skip to content

Commit

Permalink
removes explicit payment_method_types to allow stripe to auto handle …
Browse files Browse the repository at this point in the history
…payment methods in the checkout based on UI settings and location
  • Loading branch information
ndr3svt committed Oct 9, 2024
1 parent fc8eb0a commit 145c7aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Http/Controllers/PaymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public function redirect(): RedirectResponse
$totalAmount = $cart->grand_total;

$checkoutSession = Session::create([
'payment_method_types' => ['card'],
'line_items' => [[
'price_data' => [
'currency' => $cart->global_currency_code,
Expand Down

0 comments on commit 145c7aa

Please sign in to comment.