/**
  * Configure the address before sending
  * @param string $fullAddress - Address complet
  * @return array - Returns the treated address
  */
 private function addressConfig($fullAddress)
 {
     require_once Mage::getBaseDir('code') . '/community/UOL/PagSeguro/Model/AddressConfig.php';
     return AddressConfig::treatmentAddress($fullAddress);
 }
예제 #2
0
 private function _addressConfig($fullAddress)
 {
     require_once getcwd() . '/app/code/local/PagSeguro/PagSeguro/Model/AddressConfig.php';
     return AddressConfig::trataEndereco($fullAddress);
 }