File: //var/www/drakkar_site/wp-content/plugins/woocommerce-mercadopago/src/Blocks/PseBlock.php
<?php
namespace MercadoPago\Woocommerce\Blocks;
if (!defined('ABSPATH')) {
exit;
}
class PseBlock extends AbstractBlock
{
protected $scriptName = 'pse';
protected $name = 'woo-mercado-pago-pse';
/**
* CustomBlock constructor
*/
public function __construct()
{
parent::__construct();
$this->storeTranslations = $this->mercadopago->storeTranslations->pseCheckout;
}
/**
* Set payment block script params
*
* @return array
*/
public function getScriptParams(): array
{
return $this->gateway->getPaymentFieldsParams();
}
}