Skip to content

Commit df22ee1

Browse files
[7.x] Drop allow_redirects parameter from Stripe Payment Intent API request (#1247)
* feat: allow configurable allow_redirects for stripe gateway * Remove `allow_redirects` parameter Looks like we only added it to fix failing tests, but the tests seem to pass without it... so 🤷‍♂️ --------- Co-authored-by: Duncan McClean <duncan@duncanmcclean.com>
1 parent b98848e commit df22ee1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Gateways/Builtin/StripeGateway.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public function prepare(Request $request, OrderContract $order): array
7676
if ($this->inPaymentElementsMode()) {
7777
$intentData['automatic_payment_methods'] = [
7878
'enabled' => true,
79-
'allow_redirects' => 'never',
8079
];
8180
}
8281

0 commit comments

Comments
 (0)