src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerOgoneAliasGateway.class.php
protected function MapExpireDateFromAPI()
    {
        if (isset($this->aPaymentUserData['ED']) && '' !== $this->aPaymentUserData['ED']) {
            $this->aPaymentUserData['ECOM_CARDINFO_EXPDATE_MONTH'] = substr($this->aPaymentUserData['ED'], 0, 2);
            $this->aPaymentUserData['ECOM_CARDINFO_EXPDATE_YEAR'] = '20'.substr($this->aPaymentUserData['ED'], 2, 2);
        }
    }
protected function MapExpireDateFromAPI()
    {
        if (isset($this->aPaymentUserData['ED']) && '' !== $this->aPaymentUserData['ED']) {
            $this->aPaymentUserData['ECOM_CARDINFO_EXPDATE_MONTH'] = substr($this->aPaymentUserData['ED'], 0, 2);
            $this->aPaymentUserData['ECOM_CARDINFO_EXPDATE_YEAR'] = '20'.substr($this->aPaymentUserData['ED'], 2, 2);
        }
    }
protected function MapExpireDateFromAPI ( ) { if ( isset ( $ this -> aPaymentUserData [ 'ED' ] ) && '' !== $ this -> aPaymentUserData [ 'ED' ] ) { $ this -> aPaymentUserData [ 'ECOM_CARDINFO_EXPDATE_MONTH' ] = substr ( $ this -> aPaymentUserData [ 'ED' ] , 0 , 2 ) ; $ this -> aPaymentUserData [ 'ECOM_CARDINFO_EXPDATE_YEAR' ] = '20' . substr ( $ this -> aPaymentUserData [ 'ED' ] , 2 , 2 ) ; } }
the api only returns concatenated date instead of month and year in single fields
so we want to map them because we use the single fields for submitting.
the api only returns concatenated date instead of month and year in single fields so we want to map them because we use the single fields for submitting .