/**
  * {@inheritdoc}
  */
 public function getConfig()
 {
     $pre = __METHOD__ . ' : ';
     $this->_logger->debug($pre . 'bof');
     $config = ['payment' => ['payfast' => ['paymentAcceptanceMarkSrc' => $this->config->getPaymentMarkImageUrl(), 'paymentAcceptanceMarkHref' => $this->config->getPaymentMarkWhatIsPayfast()]]];
     foreach ($this->methodCodes as $code) {
         if ($this->methods[$code]->isAvailable()) {
             $config['payment']['payfast']['redirectUrl'][$code] = $this->getMethodRedirectUrl($code);
             $config['payment']['payfast']['billingAgreementCode'][$code] = $this->getBillingAgreementCode($code);
         }
     }
     $this->_logger->debug($pre . 'eof', $config);
     return $config;
 }