Skip to content

Commit

Permalink
20210222 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
securesubmit-buildmaster committed Feb 23, 2021
1 parent efd3b1b commit 01c24bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Gateways/Gp3DSProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function processSecure3d(Secure3dBuilder $builder)
$request['card_detail'] = $this->maybeSetKey($request['card_detail'], 'full_name', $cardData->cardHolderName);

if (!empty($cardData->cardHolderName)) {
$names = explode(' ', $cardData->cardHolderName);
$names = explode(' ', $cardData->cardHolderName, 2);
if (count($names) >= 1) {
$request['card_detail'] = $this->maybeSetKey($request['card_detail'], 'first_name', $names[0]);
}
Expand Down
3 changes: 3 additions & 0 deletions src/Gateways/RealexConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,9 @@ protected function mapAuthRequestType(AuthorizationBuilder $builder)
'The selected gateway does not support this transaction type.'
);
case TransactionType::VERIFY_ENROLLED:
if ($builder->paymentMethod instanceof RecurringPaymentMethod) {
return 'realvault-3ds-verifyenrolled';
}
return '3ds-verifyenrolled';
default:
return 'unknown';
Expand Down
2 changes: 1 addition & 1 deletion src/ServicesContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static function configure(ServicesConfig $config, $configName = 'default'
self::configureService($config->gatewayConfig, $configName);
}

public static function configureService($config, string $configName = 'default')
public static function configureService($config, $configName = 'default')
{
if ($config != null) {
if (!($config->validated)) {
Expand Down

0 comments on commit 01c24bf

Please sign in to comment.