Skip to content

Commit

Permalink
Merge pull request #13 from ndr3svt/auto-handle-payment-methods-on-ch…
Browse files Browse the repository at this point in the history
…eckout

removes explicit payment_method_types to allow stripe to auto handle …
  • Loading branch information
karabayyazilim authored Oct 10, 2024
2 parents fc8eb0a + 145c7aa commit f64e2df
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 f64e2df

Please sign in to comment.