Skip to content

Commit f86b37e

Browse files
20210107 deployment
1 parent c8b108c commit f86b37e

File tree

3 files changed

+1
-57
lines changed

3 files changed

+1
-57
lines changed

src/PaymentMethods/RecurringPaymentMethod.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -241,19 +241,6 @@ public function __isset($name)
241241

242242
public function __set($name, $value)
243243
{
244-
switch ($name) {
245-
case 'paymentMethod':
246-
$client = ServicesContainer::instance()->getRecurringClient();
247-
if (!$client->supportsUpdatePaymentDetails) {
248-
throw new UnsupportedTransactionException();
249-
}
250-
251-
$this->paymentMethod = $value;
252-
return;
253-
default:
254-
break;
255-
}
256-
257244
if (property_exists($this, $name)) {
258245
return $this->{$name} = $value;
259246
}

src/ServicesConfig.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/ServicesContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function getSecure3d($configName, $version)
176176
if ($provider != null) {
177177
return $provider;
178178
} else {
179-
throw new ConfigurationException("Secure 3d is not configured for version " . $version) . ".";
179+
throw new ConfigurationException("Secure 3d is not configured for version " . $version . ".");
180180
}
181181
} else {
182182
throw new ConfigurationException("Secure 3d is not configured on the connector.");

0 commit comments

Comments
 (0)