/** * Set the charset configured in the PagSeguro module */ public function setCharset() { \PagSeguro\Configuration\Configure::setCharset($this->_scopeConfig->getValue('payment/pagseguro/charset')); }