Skip to content

Commit

Permalink
Ticket #4702 - Payments: Stripe integration should always require Cus…
Browse files Browse the repository at this point in the history
…tomer creation.
  • Loading branch information
AntonLV committed Apr 29, 2024
1 parent 72f4061 commit 115d520
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ protected function _createSession($sType, $aParams, &$aClient, &$aCartInfo)
$oSession = null;
$aSession = array_merge([
'mode' => $sMode,
'customer_creation' => 'always',
'payment_method_types' => ['card'],
'customer_email' => !empty($aClient['email']) ? $aClient['email'] : ''
], $aParams);
Expand Down

0 comments on commit 115d520

Please sign in to comment.