We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 50c8820a authored by rikterbeek's avatar rikterbeek

remove old TODO comments

parent 9669fe1b
...@@ -222,16 +222,9 @@ class AdyenHppConfigProvider implements ConfigProviderInterface ...@@ -222,16 +222,9 @@ class AdyenHppConfigProvider implements ConfigProviderInterface
if(isset($responseData['paymentMethods'])) { if(isset($responseData['paymentMethods'])) {
foreach ($responseData['paymentMethods'] as $paymentMethod) { foreach ($responseData['paymentMethods'] as $paymentMethod) {
// TODO: validate if brancode and title exists
$paymentMethod = $this->_fieldMapPaymentMethod($paymentMethod); $paymentMethod = $this->_fieldMapPaymentMethod($paymentMethod);
$paymentMethodCode = $paymentMethod['brandCode']; $paymentMethodCode = $paymentMethod['brandCode'];
$paymentMethod = $this->_fieldMapPaymentMethod($paymentMethod); $paymentMethod = $this->_fieldMapPaymentMethod($paymentMethod);
// TODO: IMPLEMENT SKIP CARDS if adyen cc is enabled
$paymentMethods[$paymentMethodCode] = $paymentMethod; $paymentMethods[$paymentMethodCode] = $paymentMethod;
} }
} }
...@@ -330,10 +323,6 @@ class AdyenHppConfigProvider implements ConfigProviderInterface ...@@ -330,10 +323,6 @@ class AdyenHppConfigProvider implements ConfigProviderInterface
{ {
$cacheKey = $this->_getCacheKeyForRequest($requestParams, $store); $cacheKey = $this->_getCacheKeyForRequest($requestParams, $store);
if (! $hmacKey = $this->_adyenHelper->getHmac()) {
// TODO THROW ADYEN EXEPTION
}
// initialize the adyen client // initialize the adyen client
$client = new \Adyen\Client(); $client = new \Adyen\Client();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment