Skip to content

Commit 01c24bf

Browse files
20210222 deployment
1 parent efd3b1b commit 01c24bf

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/Gateways/Gp3DSProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function processSecure3d(Secure3dBuilder $builder)
162162
$request['card_detail'] = $this->maybeSetKey($request['card_detail'], 'full_name', $cardData->cardHolderName);
163163

164164
if (!empty($cardData->cardHolderName)) {
165-
$names = explode(' ', $cardData->cardHolderName);
165+
$names = explode(' ', $cardData->cardHolderName, 2);
166166
if (count($names) >= 1) {
167167
$request['card_detail'] = $this->maybeSetKey($request['card_detail'], 'first_name', $names[0]);
168168
}

src/Gateways/RealexConnector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,9 @@ protected function mapAuthRequestType(AuthorizationBuilder $builder)
11661166
'The selected gateway does not support this transaction type.'
11671167
);
11681168
case TransactionType::VERIFY_ENROLLED:
1169+
if ($builder->paymentMethod instanceof RecurringPaymentMethod) {
1170+
return 'realvault-3ds-verifyenrolled';
1171+
}
11691172
return '3ds-verifyenrolled';
11701173
default:
11711174
return 'unknown';

src/ServicesContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static function configure(ServicesConfig $config, $configName = 'default'
4949
self::configureService($config->gatewayConfig, $configName);
5050
}
5151

52-
public static function configureService($config, string $configName = 'default')
52+
public static function configureService($config, $configName = 'default')
5353
{
5454
if ($config != null) {
5555
if (!($config->validated)) {

0 commit comments

Comments
 (0)