Skip to content

Commit

Permalink
Update Stripe.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored Jan 16, 2023
1 parent 627a475 commit 2a664ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Stripe/Api/Stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ public function createPaymentSession(StripeUser $user, $items, array $urls, Tran
'cancel_url' => $urls['cancel'],
'success_url' => $urls['return'],
'mode' => $mode,
'payment_method_types' => [
'card',
],
'payment_method_types' => $this->types,
'customer' => $user->getStripeId(),
'line_items' => $items,
];
Expand Down

0 comments on commit 2a664ba

Please sign in to comment.