• Olá.
    O gateway n?o gera referência para pagamento MbWay quando o cliente insere um número de telefone com o indicativo nacional +351.
    Algum método para ultrapassar esta quest?o?

    Hello.
    The gateway does not generate a reference for MbWay payment when the customer enters a telephone number with the national code +351.
    Any method to overcome this issue?

Viewing 1 replies (of 1 total)
  • Thread Starter xoutor

    (@xoutor)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Error on Phone With Country Code’ is closed to new replies.