Bom dia.
Após uma resposta nada esclarecedora do apoio técnico da EuPago, que apenas soube informar que a responsabilidade tinha que ser do cliente a colocar o contacto sem o indicativo nacional, deixo uma solu??o temporária para quem possa estar a ter este problema.
EDITAR A FUN??O
public function process_payment($order_id)
EM
/home/srcervejeiro/public_html/wp-content/plugins/eupago-gateway-for-woocommerce/includes/class-wc-eupago-mbway.php
// Remover o indicativo “+351” do $mbway_phone
$mbway_phone = preg_replace(‘/^+351/’, ”, $mbway_phone);
No entanto vou tentar aprofundar uma solu??o para que esta se mantenha consistente com possiveis futuras atualiza??es do plugin.
—
Hello.
After a non-clarifying response from EuPago’s technical support, who only knew how to inform that the customer had to be responsible for placing the contact without the national code, I leave a temporary solution for anyone who may be having this problem.
EDIT FUNCTION
public function process_payment($order_id)
IN
/home/srcervejeiro/public_html/wp-content/plugins/eupago-gateway-for-woocommerce/includes/class-wc-eupago-mbway.php
// Remove country code “+351” from $mbway_phone
$mbway_phone = preg_replace(‘/^+351/’, ”, $mbway_phone);
However, I will try to delve deeper into a solution so that it remains consistent with possible future plugin updates.