Multibanco, MB WAY, Cartão de crédito, Payshop e Cofidis Pay (IfthenPay) para WooCommerce

Descrição

“Pagamento de Serviços” no Multibanco, ou em serviços de homebanking, é a forma mais popular de pagar serviços e compras (online) em Portugal. O consumidor português confia incomparavelmente mais no Multibanco do que em qualquer outro sistema de pagamentos.
Este plugin permite gerar uma Referência de pagamento que o cliente pode utilizar para pagar a sua encomenda do WooCommerce numa caixa Multibanco ou num serviço de Home Banking.

Os métodos MB WAY (utilizando o telemóvel do cliente), Cartão de crédito ou débito, Payshop CTT e Cofidis Pay também estão disponíveis.

Este é o plugin oficial da IfthenPay, e é necessário um contrato com esta empresa. O suporte técnico é fornecido pela PT Woo Plugins (by Webdados) nos fóruns de suporte WordPress.org.

Totalmente compatível com o novo Armazenamento de encomendas de alto desempenho (HPOS) e com a Finalização de compras baseada em blocos.

Recursos:

  • Gera uma Referência Multibanco para fácil pagamento na rede portuguesa de ATM ou serviço de homebanking;
  • Permite ao cliente pagar com MB WAY usando o seu telemóvel;
  • Permite ao cliente pagar com Cartão de crédito ou débito;
  • Gera uma Referência Payshop para fácil pagamento na rede de agentes Payshop, lojas CTT ou estações de correio disponíveis em Portugal;
  • Permite ao cliente pagar em até 12 prestações sem juros através da Cofidis Pay;
  • Referências Multibanco com data de expiração se a configuração com “Chave MB” for usada;
  • Altera automaticamente o estado da encomenda para “Em processamento” (ou “Concluída” no caso de uma encomenda de produtos virtuais descarregáveis) e notifica o cliente e o gestor da loja, se o “Callback” automático após pagamento estiver activo;
  • O “Callback” automático pode ser activado sob pedido à IfthenPay, nas opções de configuração do plugin para cada método de pagamento;
  • Reembolsos em MB WAY e Cartão de crédito ou débito – ler isto;
  • É possível definir um valor mínimo e máximo de total da encomenda para que cada método de pagamento esteja disponível;
  • Permite que o stock seja reduzido quando a encomenda é criada ou paga;
  • Permite pesquisar encomendas (na área de administração) por Referência Multibanco ou Payshop;
  • Compatível com o Armazenamento de encomendas de alto desempenho;
  • Compatível com o Checkout baseado em blocos;
  • Compatível com o WPML (para lojas multi-idioma);
  • Testado com o Polylang;
  • Integração WooCommerce Subscriptions (apenas Multibanco);
  • Integração (experimental) WooCommerce Deposits by webtomizer (excepto Cofidis Pay);
  • Integration for 3rd party SMS notification plugins (only Multibanco and Payshop):

Add-on PRO

Obtenha o add-on PRO e desbloqueie funcionalidades extra:

  • Recuperação de encomendas MB WAY não pagas convertendo-as em Multibanco e notificando o cliente por email;
  • Cancelamento automático de encomendas quando as referências Multibanco, Payshop ou MB WAY expiram;
  • Contagem decrescente do tempo disponível para pagamento MB WAY na página de “Obrigado”;
  • Accionar o pagamento Multibanco e MB WAY para encomendas criadas pela API REST;
  • Guardar e mostrar a comissão IfthenPay em cada encomenda;
  • Set a payment entity for Multibanco, MB WAY, Credit card, Payshop and Cofidis Pay at the product category level, so that you can receive payment in different accounts based on the order products (replaces previously available specific extension);
    • Marketplace simplificado;
    • Bloquear o carrinho para que possa apenas ter produtos de uma única conta na mesma encomenda;
  • Remover as instruções de pagamento de emails específicos, por exemplo “encomenda concluída”, para evitar confusão ao cliente quando as mesmas já não são necessárias;
  • Preenchimento automático do NIF na gateway Cofidis Pay a partir de vários plugins de VAT (outros podem ser adicionados a pedido);
  • Alterar o timeout por omissão para as chamadas aos webservices da IfthenPay, caso o seu website esteja com dificuldade de comunicações;
  • Esconder avisos de novos métodos de pagamento disponíveis;
  • Esconder avisos de pedidos de activação de callback pendentes;
  • Esconder barra lateral no ecrã de definições dos métodos de pagamento;
  • Mais funcionalidades em breve;
  • By purchasing the PRO add-on you get:
    • Suporte técnico (aplicam-se condições);
    • Todas as funcionalidades descritas em cima;
    • Contribuição para o desenvolvimento continuado da solução;
    • Actualizações automáticas;
    • Bom karma;

Atenção: O add-on PRO é um produto da PT Woo Plugins / Webdados, não tendo a IfthenPay qualquer responsabilidade sobre o mesmo.

Outros plugins (premium)

Já conhece os nossos outros plugins WooCommerce (premium)?

Instalação

  • Certifique-se que tem um contrato com a IfthenPay
  • Utilize a funcionalidade de instalação automática de plugins na área de administração do WordPress e pesquise por “IfthenPay”.
  • Multibanco: Vá a WooCoomerce > Configurações > Pagamentos > Pagamento de Serviços no Multibanco e preencha os dados disponibilizados pela IfthenPay (chave MB ou entidade e subentidade), de modo a poder usar este método de pagamento.
  • MB WAY: Vá a WooCoomerce > Configurações > Pagamentos > Pagamento MB WAY no telemóvel e preencha os dados disponibilizados pela IfthenPay (chave MB WAY), de modo a poder usar este método de pagamento.
  • Cartão de crédito ou débito: Vá a WooCoomerce > Configurações > Pagamentos > Cartão de crédito e preencha os dados disponibilizados pela IfthenPay (chave Cartão de crédito), de modo a poder usar este método de pagamento.
  • Payshop: Vá a WooCommerce > Configurações > Pagamentos > Pagamento na rede de agentes Payshop e preencha os dados disponibilizados pela IfthenPay (chave Payshop), de modo a poder usar este método de pagamento.
  • Cartão de crédito ou débito: Vá a WooCoomerce > Configurações > Pagamentos > Cofidis Pay e preencha os dados disponibilizados pela IfthenPay (chave Cofidis Pay), de modo a poder usar este método de pagamento.
  • Não se esqueça de pedir à IfthenPay a activação do “Callback” do lado deles, com o URL e a chave Anti-phishing disponibilizada na página de configuração. Há uma funcionalidade na página de configuração de cada método de pagamento que permite fazer este pedido via email, excepto no Cartão de crédito em que tal não é necessário.
  • Comece a receber pagamentos 🙂

Perguntas frequentes

Já posso começar a receber pagamentos? Mostra-me o dinheiro!

Nop! Tem de assinar um contrato com a IfthenPay para activar este serviço. Vá a https://ifthenpay.com para mais informações.

Sou uma pessoa singular e não um negócio registado. Posso usar este plugin?

Não. A IfthenPay só disponibiliza este serviço a negócios registados e equivalentes (como, por exemplo, empresários em nome individual). Deve contactá-los se necessita de mais informações sobre esta matéria.

A referência gerada não contém o número de encomenda. Como saberei que encomenda foi paga?

A IfthenPay vai enviar-lhe um email cada vez que uma referência for paga, mas a referência não contém o número de encomenda. Por design, o nosso plugin não inclui o número de encomenda devido à forma como o WooCommerce/WordPress define os IDs de encomenda/posts.
De qualquer forma, não é necessário ter o número de encomenda na referência, porque o plugin utiliza um mecanismo de callback. A IfthenPay notifica automaticamente o WooCommerce quando uma referências Multibanco é usada para pagamento. A encomenda está ligada a essa referência na base de dados e, também automaticamente, será marcada como paga.
Se ainda assim necessita saber a que encomenda uma referência está associada, utilize a caixa de pesquisa no ecrã de administração de encomendas do WooCommerce.

Posso testar o callback para simular um pagamento e antever o que acontece quando um pagamento real é efectuado por um cliente?

Sim, claro. Edite o seu ficheiro wp-config.php e defina o WP_DEBUG para true. Depois, faça uma encomenda de teste na frente da loja, usando o Multibanco, MB WAY ou PayShop. Vá à página de edição de encomendas e clique o botão “Simular pagamento por callback”.

Como emitir um reembolso MB WAY ou Cartão de crédito ou débito no WooCommerce?

Tal como em qualquer outra gateway de pagamento do WooCommerce que suporte reembolsos.
Consulte as instruções atentamente aqui (Automatic refunds, passo 4) e aqui (instruções específicas de WooCommerce).

Posso utilizar este plugin ou o serviço da IfthenPay em mais do que um website?

Sim, mas não com a mesma entidade e subentidade Multibanco, chaves MB WAY, Cartão de crédito ou Payshop. Peça à IfthenPay diferentes credenciais para cada website em que necessite do serviço. Não tem custos extra e até pode encaminhar os pagamentos para contas bancárias diferentes.

Posso alterar o formato das instruções de pagamento na página após a finalização da encomenda e/ou no email de nova encomenda, tal como na mensagem SMS?

Sim pode! Mas tem de estar à vontade com a utilização de filtros do WordPress. Existem três filtros para esta finalidade e pode encontrar exemplos no ficheiro hooks-examples.php.

Posso alterar o ícone na página de finalização de compra?

Também existe um filtro para isto. Veja o hooks-examples.php.

Quero cobrar uma taxa adicional pelo uso do pagamento por Multibanco, MB WAY, Cartão de crédito ou Payshop. O que é que devo fazer?

Não deve! De acordo com o nosso entendimento, é ilegal pela Lei Portuguesa e uma directiva Europeia cobrar uma taxa extra de acordo com o método de pagamento escolhido pelo cliente.
Se não quer saber da lei, existem plugins que permitem a definição destas taxas por método de pagamento. Por favor, não nos solicite suporte.

Quanto tempo é que o cliente tem para pagar com MB WAY?

Os pedidos de pagamento por MB WAY expiram após 5 minutos.

Porque é que o cliente não recebe um email quando escolhe o método MB WAY?

O pagamento MB WAY necessita ser aprovado imediatamente após a finalização da compra, tal como quando se utiliza um cartão de crédito ou o PayPal.
O WooCommerce só envia emails de instruções de pagamento para métodos que requeiram um pagamento posterior, e não imediato, como o Multibanco, Payshop ou transferência bancária por exemplo.

[WPML] O meu website é multilingue. Posso usar este plugin?

Sim. Este plugin é oficialmente compatível com o WPML. Vai necessitar dos plugins WPML e WPML String Translation (além do WooCommerce Multilingual que é obrigatório para qualquer instalação WooCommerce + WPML).

[WPML] Como é que posso traduzir o título e descrição do método de pagamento que o cliente vê na página de finalização de compras para os idiomas secundários?

Vá a WPML > Tradução de strings > e procure e pesquise todas as strings do domínios woocommerce e multibanco_ifthen_for_woocommerce que contenham ifthen_for_woocommerce no seu nome.

[SMS] Como incluir os detalhes de pagamento por Multibanco e/ou Payshop no SMS enviado pelo “WooCommerce – APG SMS Notifications”?

Vá a WooCommerce > SMS Notifications e adicione a variável %multibanco_ifthen% e/ou %payshop_ifthen% em “Order on-hold custom message”.

[SMS] Como incluir os detalhes de pagamento por Multibanco e/ou Payshop no SMS enviado pelo “Twilio SMS Notifications”?

Vá a WooCommerce > Configurações &gt: SMS e adicione a variável %multibanco_ifthen% e/ou %payshop_ifthen% em “Customer Notifications“ > “On Hold SMS Message”.

[SMS] Como incluir os detalhes de pagamento por Multibanco e/ou Payshop no SMS enviado pelo “YITH WooCommerce SMS Notification”?

Vá a YITH Plugins > SMS Notifications > SMS Settings e adicione a variável {multibanco_ifthen} e/ou {payshop_ifthen} em “On hold”.

[Avançado] Posso utilizar uma entidade/subentidade ou chave Multibanco, ou chave MB WAY, Cartão de crédito ou Payshop específica de acordo com os detalhes da encomenda?

Sim, deve usar o filtro multibanco_ifthen_base_ent_subent ou multibanco_ifthen_base_mbkey, multibanco_ifthen_base_mbwaykey, multibanco_ifthen_base_creditcardkey ou multibanco_ifthen_base_payshopkey. Ver hooks-examples.php.

[Avançado] A encomenda fica no estado “Aguarda confirmação de pagamento” para Multibanco e Payshop, posso torná-la em “Pagamento pendente” por omissão?

Não sei por que razão quererá fazer isto mas… sim, pode. Basta retornar false ao filtro multibanco_ifthen_set_on_hold e/ou payshop_ifthen_set_on_hold .
Mas tenha em atenção que não será enviado nenhum email de “nova encomenda” para o cliente, com as instruções de pagamento, a não ser que algum plugin ou código à medida o force.

[Avançado] Configurei o WooCommerce para cancelar encomendas não pagas após x minutos, porque é que as encomendas com Multibanco e/ou Payshop não estão a ser canceladas?

O WooCommerce só cancela automaticamente uma encomenda “Pendente” e não uma que “Aguarda confirmação de pagamento”, porque estas encomendas estão definidas para serem pagas por um método offline (como o Multibanco e o Payshop), e esses pagamentos podem ocorrer em qualquer altura, mesmo após o cancelamento da encomenda. Ainda assim, se quiser correr esse risco, retorne true aos filtros multibanco_ifthen_cancel_unpaid_orders e/ou payshop_ifthen_cancel_unpaid_orders .
Também pode repor o stock dessa encomenda retornando true aos filtros multibanco_ifthen_cancel_unpaid_orders_restore_stock e/ou payshop_ifthen_cancel_unpaid_orders_restore_stock , mas a equipa de desenvolvimento do WooCommerce desaconselha-o.
Tenha em atenção que a referência Multibanco ou Payshop permanece activa e ainda poderá ser paga mais tarde.

[Avançado] Posso impedir o plugin de adicionar as instruções de pagamento e/ou as mensagens de pagamento recebido aos emails?

Pode usar os filtros multibanco_ifthen_email_instructions_pending_send e/ou mbway_ifthen_email_instructions_pending_send: retorne falso e as instruções de pagamento não serão incluídas no email “Nova encomenda” – todavia, não recomendamos que o faça.
Pode usar os filtros multibanco_ifthen_email_instructions_payment_received_send e/ou mbway_ifthen_email_instructions_payment_received_send: retorne falso e a mensagem de pagamento recebido não será incluída no email “Em processamento”.

A IfthenPay diz que o meu URL de callback retorna erro 404. Devo sentar-me num canto e chorar ou há solução?

Não chore! Há uma solução!
Provavelmente tem uma configuração de permalinks algo estranha (ou nem sequer os está a utilizar) na sua instalação WordPress.
Diga-lhes para mudar o URL de callback de https://yourwebsite/wc-api/WC_Multibanco_IfThen_Webdados/?chave=[CHAVE_ANTI_PHISHING]&entidade=[ENTIDADE]&referencia=[REFERENCIA]&valor=[VALOR] para https://yourwebsite/?wc-api=WC_Multibanco_IfThen_Webdados&chave=[CHAVE_ANTI_PHISHING]&entidade=[ENTIDADE]&referencia=[REFERENCIA]&valor=[VALOR].

Este plugin obedece ao Regulamento Geral de Protecção de Dados da União Europeia?

Este plugin não recolhe nem envia para a Webdados (autora do plugin) ou IfthenPay (processador de pagamentos) quaisquer dados, passíveis de protecção de dados, do website em que é instalado, dos seus clientes ou das próprias encomendas.
No módulo MB WAY é recolhido o número de telemóvel para solicitar a autorização de pagamento e pode ser legitimamente tratado com base no Artigo 6º, Ponto 1, Alínea b) do RGPD.
A política de privacidade da IfthenPay pode ser consultada em https://ifthenpay.com/termosCondicoes

Este plugin é compatível com o novo armazenamento de alto desempenho do WooCommerce (HPOS – COT)?

Sim.

Este plugin já é compatível com o Carrinho e Finalização de Compras do WooCommerce baseados em blocos?

Sim.

Necessito de suporte técnico. Quem devo contactar, a IfthenPay ou a Webdados?

Apesar deste ser o plugin oficial da IfthenPay para WooCommerce, o desenvolvimento e suporte é responsabilidade da Webdados.
Para suporte grátis deve usar os fóruns de suporte aqui no WordPress.org
Para suporte premium, urgente e integrações experimentais ou desenvolvimentos à medida deve contactar a Webdados directamente. Existirão custos associados.

Qualquer suporte relaccionado com autorizações ou pagamentos falhados em cartão de crédito devem ser direccionados à IfthenPay.

Onde reporto vulnerabilidades de segurança encontradas neste plugin?

Pode reportar bugs de segurança encontrados no código fonte deste plugin através do Patchstack Vulnerability Disclosure Program. A equipa do Patchstack irá ajudar com a verificação, atribuição de CVE e tratará de nos notificar.

Posso contribuir para a tradução?

Claro. Pode ajudar-nos no GlotPress.

Avaliações

13 Dezembro, 2023 1 reply
Funciona sem grandes complicações que é aquilo que se pede num plugin destes. Obrigado.
16 Setembro, 2023 1 reply
Marco not only solved my issue but was fast and precise in his reply. Thank you so much for your help and kindness!
31 Janeiro, 2022 1 reply
Really appreciate Webdados and the plugins they have made. Their technical support is also spot on, really like it! Thanks Webdados!! #Happy Customer
16 Fevereiro, 2021 1 reply
A usar e recomendar a clientes há cerca de dois anos! Nunca tive problemas. Funciona tudo de forma espetacular, com os callbacks e as encomendas a serem marcadas como pagas automaticamente. Já tenho vários clientes que fizeram contrato na ifthenpay para usar nas lojas online, graças e este plugin.
Ler todas as 20 avaliações

Contribuidores e programadores

“Multibanco, MB WAY, Cartão de crédito, Payshop e Cofidis Pay (IfthenPay) para WooCommerce” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“Multibanco, MB WAY, Cartão de crédito, Payshop e Cofidis Pay (IfthenPay) para WooCommerce” foi traduzido para 2 locales. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Multibanco, MB WAY, Cartão de crédito, Payshop e Cofidis Pay (IfthenPay) para WooCommerce” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo de alterações

9.2.2 – 2024-03-26

  • [FIX] Deprecation notices “Creation of dynamic property” on PHP 8.2 and above
  • [FIX] Typo
  • [DEV] Tested with WordPress 6.5-RC3-57875 and WooCommerce 8.7.0

9.2.0 – 2024-03-18

  • [FIX] Avoid loading payment gateways more than once
  • [FIX] Typo on the Cofidis Pay settings
  • [DEV] Set WC_IFTHENPAY_WEBDADOS_PLUGIN_FILE for usage on the Pro Add-on
  • [DEV] Set Requires Plugins tag to woocommerce
  • [DEV] Tested with WordPress 6.5-RC2-57846 and WooCommerce 8.7.0-rc.1

9.1.2 – 2024-03-03

  • [DEV] Store Mutibanco Key used to generate reference
  • [DEV] Return Multibanco Key and requestId on the get_multibanco_order_details() method
  • [NEW] PRO add-on 3.3: Get IfthenPay fee on order screen if Backoffice Key is set and fee not yet set from the callback

9.1.1 – 2024-03-03

  • [DEV] Allow filtering backoffice key

9.1.0 – 2024-03-02

  • [NEW] PRO add-on 3.2: Store and show IfthenPay fees on order (Multibanco, MB WAY and Payshop)
  • [DEV] Allow filtering callback URLs
  • [DEV] New order_has_ifthenpay_method method
  • [DEV] Tested with WordPress 6.5-beta3-57747 and WooCommerce 8.7.0-beta.2

9.0.1 – 2024-02-17

  • [FIX] Deprecated notices for wc_get_log_file_path for WooCommerce 8.6 and above
  • [FIX] Fatal error when installing the plugin in HPOS mode
  • [DEV] Tested with WordPress 6.5-alpha-57571 and WooCommerce 8.6

9.0.0 – 2024-01-17

  • New payment method: Cofidis Pay – Pay in up to 12 interest-free installments
  • Better quality payment method banners on emails
  • Apply additional WordPress Coding Standards
  • Requires WordPress 5.6 and WooCommerce 6.0
  • Tested with WordPress 6.5-alpha-57258 and WooCommerce 8.5

8.9.3 – 2023-12-12

  • You can safely update to this version if you’re running WooCommerce 5.0 or newer but we’ll very drop support for WooCommerce previous to 6.0 on the next update
  • Declare WooCommerce block-based Cart and Checkout compatibility
  • Fix jQuery deprecation warning on the Multibanco settings screen

8.9.2 – 2023-12-07

  • PRO add-on 2.0: Trigger Multibanco and MB WAY payments when creating orders via the REST API

8.9.1 – 2023-12-07

  • Fix Credit Card Callback testing when WP_DEBUG = true
  • Better debug on the new wc_get_orders wrapper
  • Apply additional WordPress Coding Standards
  • Tested with WordPress 6.5-alpha-57159 and WooCommerce 8.4.0-rc.1

8.9.0 – 2023-12-05

  • wc_get_orders wrapper to remove Polylang language filters when seraching for orders, for example on callback calls, and apply meta conversions for HPOS in the wrapper instead of all over the place
  • Better explanation of value limits on each gateway
  • Fix credit card API refund URL from HTTP to HTTPS
  • Start applying WordPress Coding Standards
  • Tested with WordPress 6.5-alpha-57150 and WooCommerce 8.4.0-beta.1

8.8.0 – 2023-11-15

  • PRO add-on 1.6: Countdown timer on the thank you page for MB WAY payments
  • Tested with WordPress 6.5-alpha-57110, WooCommerce 8.3.0-rc.2 and WooCommerce Blocks 11.5.4

8.7.0 – 2023-10-30

  • Remove beta status from the HPOS and Blocks Checkout compatibility
  • Tested with WordPress 6.5-alpha-57027, WooCommerce 8.2.1 and WooCommerce Blocks 11.4.1

8.6.0 – 2023-08-31

  • Pass $_GET to the *_ifthen_callback_payment_complete hooks
  • Update hooks-examples.php with an example on how to use the payment complete hook with the new parameter
  • Tested with WordPress 6.4-beta2-56771 and WooCommerce 8.2.0-rc.2

8.5.0 – 2023-08-31

  • Fix a PHP notice
  • Rearrange premium plugins information on the settings screen
  • Tested with WordPress 6.4-alpha-56479 and WooCommerce 8.1.0-beta.1

8.4.0 – 2023-08-04

  • Better compatibility with newer versions of WooCommerce Deposits by webtomizer (Thanks Instituto Macrobiótico de Portugal)
  • Throw Exception instead of adding notice when finalizing the order, to be compatible with both traditional and blocks checkout
  • Tested with WordPress 6.3-RC3-56344 and WooCommerce 8.0.0-rc.1

8.3.0 – 2023-07-08

  • Fix a small bug when showing the order value on our metabox on the order edit screen on multicurrency websites
  • Tested with WordPress 6.3-beta3-56143 and WooCommerce 7.9.0-rc.2

8.2.0 – 2023-04-28

  • Fix a bug when changing email language if WPML is active
  • Add security bugs report information to the readme file
  • Tested with WordPress 6.3-alpha-55693 and WooCommerce 7.7.0-beta.2

8.1.0 – 2023-04-04

  • PRO add-on 1.3: Recover unpaid MB WAY orders by converting them to Multibanco and notify the customer via email
  • Fix a bug where old installs would incorrectly show the “MB Key or Entity and subentity” setting on the backoffice
  • Remove debug string from MB WAY settings
  • Add FAQ about why the MB WAY payment instructions are not send by email
  • Tested with PHP 8.1.9, WordPress 6.3-alpha-55618 and WooCommerce 7.6.0-beta.2

8.0.2 – 2023-04-01

  • Fix a PHP notice
  • Tested with WordPress 6.3-alpha-55615 and WooCommerce 7.6.0-beta.2

8.0.1 – 2023-02-28

  • New actions before process_payment functions
  • Tested with WordPress 6.2-beta3-55428 and WooCommerce 7.5.0-beta.2

8.0.0 – 2023-02-03

  • You can safely update to this version if you’re running WooCommerce 5.0 or newer
  • Support for the new WooCommerce block based checkout (in beta) for all payment methods;
  • Tested with WordPress 6.2-alpha-55198, WooCommerce 7.4.0-beta.2 and WooCommerce Blocks 9.5.0

7.1.1 – 2022-12-18

  • Set debug to true by default on new installs
  • Fix the callback instructions when using the new MB Key instead of Entity / Subentity
  • Fix version number on 7.1.0
  • Tested with WordPress 6.2-alpha-54951 and WooCommerce 7.2.0

7.0.0 – 2022-12-05

  • Direct and automatic MB WAY and Credit or debit card refunds via the order admin screen
  • High-Performance Order Storage compatible (in beta and only on WooCommerce 7.1 and above)
  • Fix a bug on emails when the shop language is not the same as the user managing the orders
  • Fix jQuery deprecations
  • Requires WooCommerce 5.0
  • Tested with WordPress 6.2-alpha-54888 and WooCommerce 7.2.0-beta.1

6.5.2 – 2022-11-29

  • You can safely update to this version if you’re running WooCommerce 4.3 or newer but we’ll very soon drop support for WooCommerce previous to 5.0
  • Fix trailing comma that was causing a fatal error on PHP below 7.3

6.5.1 – 2022-11-11

  • Requires WooCommerce 4.3
  • Removed MB WAY support for WooCommerce Subscriptions because the customer only have 5 minutes to pay for a renewal he might not be expecting
  • Fix id stored in Payshop references when order number is being used instead of order id
  • Fix a bug on the MB WAY callback introduced in 6.5.0
  • Code cleanup
  • Declare WooCommerce High-Performance Order Storage incompatibility (for now)
  • Tested with WordPress 6.2-alpha-54799 and WooCommerce 7.1.0

6.5.0 – 2022-11-11

  • Do not use this version

6.4.1 – 2022-11-03

  • Fix bug on MB WAY callback when comparing the incoming reference with the order id and/or number which would cause the order not to be identified
  • Debug tweaks – Stop sending “payment received” emails and only send warning or error emails
  • Tested with WordPress 6.1 and WooCommerce 7.1.0-rc.1

6.4.0 – 2022-10-25

  • PRO add-on 1.1: allow sending order number (for sequential order number plugins) instead of order id to the IfthenPay webservices and backoffice
  • Tested with WordPress 6.1-RC2-54684 and WooCommerce 7.1.0-beta.1

6.3.0 – 2022-10-19

  • New Add-on PRO
  • Code refactoring when querying orders, cancel expiring orders
  • Suggest MB Key instead of Entity / Subentity
  • Replace “home banking” with “homebanking”
  • Tested with WordPress 6.1-beta3-54428 and WooCommerce 7.1.0-beta.1

6.2.0 – 2022-09-03

  • Fix – Payment instructions were not shown on subscription parent and renewal orders
  • Tested with WordPress 6.1-alpha-54043 and WooCommerce 6.9.0-beta.2

6.1.1 – 2022-08-01

  • Restore – The option to reduce stock when the order is created is available again

6.1.0 – 2022-07-28

  • Dev – Removed support for WooCommerce below 4.0 (launched in March 2020)
  • Dev – Removed support for WordPress below 5.0 (launched in December 2018)
  • Dev – Removed support for PHP below 7.0 (launched in December 2015)
  • Remove – The option to reduce stock when the order is created is no longer available as it worked only for WooCommerce below 3.4.0
  • Fix – Set order as paid when order total is 0 and bypass any payments
  • Fix – [https://wordpress.org/support/topic/exemplo-para-filtro-multibanco_ifthen_webservice_expire_days/](The multibanco_ifthen_webservice_expire_days filter was not working)
  • Requires WordPress 5.0, WooCommerce 4.0 and PHP 7.0

6.0.3 – 2022-06-30

  • Fix – Multibanco would not be available on checkout when the new “MB Key” configuration method is active in some scenarios
  • Fix – Check if the checkout block is installed on the page instead of only checking if we are on the checkout page

6.0.2 – 2022-06-27

  • Remove “WC-” from the order ID sent to the new Multibanco “MB Key” API, to be more coherent to what we do in MB WAY

6.0.1 – 2022-06-24

  • Fix a bug on the callback activation request with the new “MB Key” configuration method (do not request for callback activation on 6.0.0, intall 6.0.1 and then do it)
  • Fix a PHP warning
  • Under the hood: Change the way the plugin version is called

6.0.0 – 2022-06-24

  • New configuration method with an “MB Key” instead of an Entity and Subentity, which uses an API and allows for reference expiration (you should ask IfthenPay for configuration details for this method)
  • New filters for the new configuration method: multibanco_ifthen_base_mbkey, multibanco_ifthen_webservice_timeout, multibanco_ifthen_webservice_desc and multibanco_ifthen_webservice_expire_days
  • Tested with WordPress 6.1-alpha-53556 and WooCommerce 6.7.0-beta.1

5.2.0 – 2022-05-31

  • New brand: PT Woo Plugins 🥳
  • See you in WordCamp Europe 2022, in Porto?
  • Tested with WordPress 6.1-alpha-53451 and WooCommerce 6.6.0-rc.1

5.1.4 – 2022-05-04

  • May the 4th be with you
  • Small change on the checkout MB WAY field label
  • Tested with WordPress 6.0-beta2-53236 and WooCommerce 6.5.0-rc.1

5.1.3 – 2022-01-05

  • New option to set Payshop reference validity to 15 days
  • Small bug fixes on checking the payment methods key length
  • Tested with WordPress 5.9-RC1-52446 and WooCommerce 6.1.0-rc.2
  • Happy New Year!

5.1.2 – 2021-08-11

  • It’s now possible to remove the new methods notifications by returning true to the multibanco_ifthen_hide_newmethod_notifications filter
  • Tested with 5.9-alpha-51588 and WooCommerce 5.6.0-rc.1

5.1.1 – 2021-06-16

  • Fix a bug on the credit card gateway where some payments were not recognised
  • Small tweaks and debug
  • Tested with WordPress 5.8-beta2-51167 and WooCommerce 5.4.1

5.1.0 – 2021-05-27

  • Several code tweaks, input sanitization and extra checks
  • Tested with WordPress 5.8-alpha-51034, WooCommerce 5.4.0-rc.1 and WooCommerce Blocks 5.2.0

5.0.1 – 2021-04-03

  • New multibanco_ifthen_send_email_instructions, mbway_ifthen_send_email_instructions, creditcard_ifthen_send_email_instructions and payshop_ifthen_send_email_instructions filters to allow removing the payment gateway instructions from emails
  • Fix Credit card settings fields not hiding when the key is not set
  • WooCommerce Blocks (4.7.0 and above) improvements: respect the Multibanco “Only for Portuguese customers” setting and fix icon size
  • Small copy adjustments
  • Tested with WordPress 5.8-alpha-50650, WooCommerce 5.2.0-rc.1 and WooCommerce Blocks 4.7.0

5.0.0 – 2021-03-16

  • Novo método de pagamento disponível: “Cartão de crédito ou débito” (WooCommerce >= 4.0) – Necessita assinar um aditamento ao contrato
  • Requer WordPress 4.6 e WooCommerce 3.0 ou superiores
  • Para suporte WooCommerce 2.6 necessita utilizar a versão 4.4.9
  • Nome do plugin alterado
  • Novo e mais rápido endpoint MB WAY
  • Forçar email de “Nova encomenda” para o dono da loja aquando o pagamento Payshop
  • Remoção de todos os ícones maiores
  • Alteração do nome da nossa metabox para “IfthenPay” por questões de simplicidade
  • Simplificação da forma como verificamos se o WooCommerce está activo
  • Não alterar a referência Multibanco quando se pede novos dados de pagamento na área de cliente no modo “Referências incrementais com data de expiração” e a referência ainda não tenha expirado
  • Novos filtros para permitirem reposicionar as instruções de pagamento nos emails: multibanco_ifthen_email_hook, multibanco_ifthen_email_hook_priority, mbway_ifthen_email_hook, mbway_ifthen_email_hook_priority, creditcard_ifthen_email_hook, creditcard_ifthen_email_hook_priority, payshop_ifthen_email_hook e payshop_ifthen_email_hook_priority
  • Novo filtro mbway_ifthen_pay_another_method_button_text que permite alterar o texto “escolha outro método de pagamento” em MB WAY
  • Bugfix: check for the “Completed” status on mbway.js, in addition to “Processing”
  • Bugfix: PHP notice on Multibanco “Incremental references with expiration date” mode
  • Bugfix: When paying again from the customer area, the old reference was being sent on the email in Multibanco “Incremental references with expiration date” mode
  • Bugfix: When paying again from the customer area, no email was sent if the customer changes from Multibanco to Multibanco in “Incremental references with expiration date” mode and the reference is already expired
  • Full readme.txt and hooks-examples.php revision
  • Several small improvements
  • Tested with WordPress 5.8-alpha-50535 and WooCommerce 5.1.0

4.4.9 – 2021-02-19

  • You can safely update this plugin if you’re running WooCommece 2.6.0 or newer but we’ll drop support for WooCommerce previous to 3.0 IN THE NEXT RELEASE
  • Last release before 5.0 (good news are on its way)
  • Forçar email de “Nova encomenda” para o dono da loja aquando o pagamento Multibanco em WooCommerce 5.0 e superior
  • Tested with WordPress 5.7-beta2-50285 and WooCommerce 5.1.0-beta.1

4.4.8 – 2020-12-22

  • Fix minimum and maximum values for all gateways
  • Fix PHP notice
  • Tested with WordPress 5.7-alpha-49862 and WooCommerce 4.9.0-beta.1

4.4.7 – 2020-12-10

  • You can safely update this plugin if you’re running WooCommece 2.6.0 or newer but we’ll drop support for WooCommerce previous to 3.0 IN THE NEXT RELEASE
  • Requires WordPress 4.4 or above
  • Small readme.txt fix
  • Tested with WordPress 5.7-alpha-49782 and WooCommerce 4.8

4.4.6 – 2020-11-04

  • Bugfix setting the Multibanco order cancelation when using references with expiration (Thanks @josefreitas2)
  • Lay ground for a (yet to be confirmed) MB WAY refund functionality – Callback processing
  • Tested with WordPress 5.6-beta1-49314 and WooCommerce 4.7.0-rc.1

4.4.5 – 2020-08-11

  • Bugfix when sending order emails after a Payshop order is paid for
  • Tested with WordPress 5.5-RC3-48781, WooCommerce 4.4.0-rc.1 and WooCommerce Blocks 3.1.0

4.4.4 – 2020-08-05

  • New WooCommerce Blocks checkout only if the feature plugin is installed and activated
  • Bugfix on the Payshop callback activation request
  • Fix a PHP notice
  • Tested with WordPress 5.5-RC1-48708, WooCommerce 4.4.0-rc.1 and WooCommerce Blocks 3.1.0

4.4.3 – 2020-07-23

  • Revert showing the Multibanco “payment received” message on order completed emails (introduced on 4.4.0)
  • Only show WooCommerce Subscriptions options if the plugin is active
  • Only enable Multibanco support for the WooCommerce Blocks checkout if WooCommerce Blocks version is 3.0.0. or above and the support is enabled via the payment method options

4.4.2

  • Bugfix when WooCommerce Blocks 3.0.0 or above is active
  • Try to fix a fatal error when themes override the WooCommerce email templates with old (pre WooCommerce 2.6.0) versions
  • Tested with WordPress 5.5-beta3-48556, WooCommerce 4.3.1 and WooCommerce Blocks 3.0.0

4.4.1

  • Bugfix checking if order is paid when the “WooCommerce Order Status Manager” (by SkyVerge) plugin is active

4.4.0

  • New ifthen_unpaid_statuses filter to allow developers to set additional valid “unpaid” statuses for Multibanco, MB WAY and Payshop orders, besides the default ones (“on-hold”, “pending” and “partially-paid”). The statuses are used for callback validation, SMS message template, show order as unpaid on the backoffice, show “Pay” button on My Account orders list, issue new references if order value changes on the backoffice, reduce order stock rules, thank you page and email payment instructions.
  • Enforce requirement of WooCommerce 2.6.0 or above and bumped the WC requires at least tag accordingly
  • Enforce requirement of WordPress 4.4 or above and bumped the Requires at least tag accordingly
  • New filter ifthen_debug_log_extra that will allow developers to further debug the Multibanco reference generation (for now)
  • Try to fix a (very odd) behavior where the customer is redirected to the “pay order” page when completing checkout, which will generate a duplicate Multibanco payment reference (as expected).
  • New filters to hide the “Pay” button on “My Account” (which we do not recommend): multibanco_ifthen_hide_my_account_pay_button, mbway_ifthen_hide_my_account_pay_button, payshop_ifthen_hide_my_account_pay_button
  • (VERY) Experimental Multibanco support for the new [https://woocommerce.wordpress.com/category/blocks/](WooCommerce Blocks) [https://woocommerce.wordpress.com/2020/05/27/available-for-testing-a-block-based-woocommerce-cart-and-checkout/](checkout experience)
  • Tested with WordPress 5.5-beta2-48501 and WooCommerce 4.3.0

4.3.0

  • New instant callback activation method via webservice instead of email
  • When checking if the customer is from Portugal (to show/hide the payment methods) we now also check the shipping country
  • Only apply our WooCommerce 4.2.0 fix if version is equal or above 4.2.0 and below 4.3.0 (a WooCommerce fix is scheduled to be released on that version)
  • More prominent admin notice regarding old WordPress, WooCommerce or PHP versions in use
  • Remove old Spanish translation from the plugin folder, now that we have a proper one on WordPress.org thanks to https://profiles.wordpress.org/fernandot
  • Tested with WordPress 5.5-alpha-48241 and WooCommerce 4.3.0-rc.2

4.2.3

  • Show paid date and time on the order admin metabox
  • Better handling when the customer decides to change payment method in “My Account”
  • Only apply our WooCommerce 4.2.0 fix if “Prices entered with tax” is set to “Yes”
  • Code refactoring to prepare the next phase of supporting only WooCommerce 3.0 and above

4.2.2

  • Temporariamente, enquanto este bug do WooCommerce não é resolvido, o valor não será verificado ao confirmar o callback nem novas referências Multibanco ou Payshop serão emitidas se a encomenda mudar de valor
  • Clarification on the settings page that the same set of entities or keys should never be used in more than one platform
  • Links to the Payshop agents and CTT stores search on the Payshop method extra instructions default message
  • Fix MB WAY phone number field hidden on some themes
  • Fix MB WAY and Payshop key fields appearance on the payment method settings
  • Show the Pay button on My Account for Multibanco and Payshop “On hold” orders
  • Better information when MB WAY order is already paid for
  • Better debug when requesting the MB WAY payment to the IfthenPay webservice
  • readme.txt tweaks
  • Tested with WordPress 5.5-alpha-47923 and WooCommerce 4.2.0

4.2.1

  • Bugfix issuing new Multibanco or Payshop payment details when the order value is changed on wp-admin on WooCommerce 4.0 and above
  • Extensions and other premium plugins list on the payment gateways settings page
  • Tested with WordPress 5.5-alpha-47547 and WooCommerce 4.0.1

4.2.0

  • Experimental: Automatically cancel unpaid orders after the Multibanco reference expires, if the “Incremental references with expiration date” mode is active
  • Bugfix when hiding Multibanco settings fields, if the “Incremental references with expiration date” mode is active
  • New hourly cron event for general plugin use
  • Tested with WooCommerce 4.0.0-rc.1
  • Requires WooCommerce 2.6.0 or above
  • For WooCommerce 2.5.0 support you need to use version 4.1.3

4.1.3

  • Fix bug on the subscription order edit screen

4.1.2

  • Requires WordPress 4.1 or above
  • Requires WooCommerce 2.5.0 or above
  • Requires PHP 5.6 or above
  • For WordPress 4.0, WooCommerce 2.4.0 and PHP 5.5 support you need to use version 4.1.1.2

4.1.1.2

  • Remove other plugins publicity from the settings page

4.1.1.1

  • Admin notice regarding old WordPress, WooCommerce or PHP versions in use (if you like to live in danger, you may disable it by returning false to the ifthen_show_old_techonology_notice filter)
  • Better readme.txt information regarding updates
  • Fix version number

4.1.0

  • Este é o primeiro lançamento destinado a actualizar o plugin, e os seus utilizadores, para para as mais recentes tecnologias (muitos outros se seguirão)
  • Requires WordPress 4.0 or above
  • Necessita WooCommerce 2.4 ou superior
  • Necessita PHP 5.5 ou superior
  • Para suporte a WordPress 3.8 e WooCommerce 2.2 support necessita usar a versão 4.0.8
  • Ícones e banners SVG (excepto nos emails onde continuamos a usar PNG porque o SVG não é completamente suportado)
  • Descontinuados ícones grandes na finalização de compras
  • Tested with WordPress 5.3.3-alpha-46995 and WooCommerce 3.9.0-rc.2

4.0.8

  • Integração experimental com WooCommerce Subscriptions;
  • Tested with WooCommerce 3.8.1

4.0.7

  • Fix Payshop small icon size
  • Small fix on MB WAY WooCommerce Subscriptions support
  • Tested with WordPress 5.3.1-alpha-46771

4.0.6

  • Tested with WordPress 5.2.5-alpha and WooCommerce 3.8.0

4.0.5

  • Fix fatal error on WooCommerce below 3.4.0 when MB WAY or Payshop were not initialized yet

4.0.4

  • Fix bug when setting the Multibanco SMS instructions
  • Improve WooCommerce Deposits by webtomizer compatibility

4.0.3

  • Deactivate the payment methods if the required settings are not filled in
  • Fix bug when showing the MB WAY expiration date on the order admin page
  • Fix bug on the Payshop intructions on the thank you page when the reference has no expiration date
  • Correctly disable payment gateways if value is not on the allowed interval when payment inside the My account page
  • readme.txt adjustments

4.0.2

  • Fix version number

4.0.1

  • Fix small icons by default
  • Move mbway.js to the new assets folder and fix scripts version number
  • Fix small bug on Payshop that allowed the anti-phishing key to be changed via the settings page after it was set
  • Better MB WAY payment request debug

4.0.0

  • Suporte Payshop (WooCommerce >= 3.0)
  • Mudança de nome do plugin
  • Enforce payment gateways minimum and maximum default values
  • Change dumb quotes to smart quotes
  • Add payment gateway logo to settings page and order metabox
  • Admin CSS and JS as external assets instead of inline
  • Check for order currency instead of global WooCommerce currency when the order already exists
  • Several minor bugfixes and minimal code refactoring

3.6.4

  • Bugfix when creating a new reference if the order value changes while editing it on wp-admin
  • Tested with WordPress 5.2.3-alpha-45666 and WooCommerce 3.7.0-rc.1

3.6.3.1

  • Bugfix on the WooCommerce Subscriptions integration (Thanks @vascothemudo)
  • Tested with WooCommerce 3.6.2

3.6.3

  • Add the partially-paid status to Multibanco valid pending payment status when checking the callback
  • New multibanco_ifthen_valid_callback_pending_status and mbway_ifthen_valid_callback_pending_status filters when checking for pending payment orders on Multibanco and MB WAY callbacks (WooCommerce >= 3.0)
  • Tested with WordPress 5.1.1 and WooCommerce 3.6.0-rc.1

3.6.2.2

  • 30 seconds timeout instead of 10 seconds when calling IfthenPay’s MB WAY webservice, because SIBS is having performance problems which results in IfthenPay being unable to reply to our request on time

3.6.2.1

  • Check for WooCommerce below 2.2 (apparently it’s still around) and stop the plugin initialization if found

3.6.2

  • 10 seconds timeout instead of 5 seconds when calling IfthenPay’s MB WAY webservice
  • New mbway_ifthen_webservice_timeout filter
  • Callback verification fallback in the case the webservice times out but the MB WAY payment request is sent and paid anyway
  • Small copy fixes

3.6.1

  • Fix callback activation request broken by WooCommerce 3.5.5
  • Better feedback if the callback activation email cannot be sent
  • readme.txt improvements

3.6.0.1

  • Changing Payment Methods support for WooCommerce Subscriptions (Thanks @ptravassos)

3.6

  • Support for Multibanco references with expiration date (needs activation by IfthenPay)
  • Payment instructions tables code refactoring
  • Expiration date/time on the payment instructions tables (when applicable)
  • Better workflow when requesting a new MB WAY payment, namely the possibility to change the phone number
  • Minor bugfix on the MB WAY payment instructions
  • Filterable interval on mbway.js

3.5

  • Allow the customer to change payment method from the “Thank you” and “View order” (My account) page for orders with MB WAY as the payment method
  • Allow shop owner to request MB WAY payment again after 6 minutes of the original request (instead of the previous 15 minutes)
  • Change the payment instructions table on the “View order” (My account) page after the MB WAY payment request is expired and the order is still not paid (also a new mbway_ifthen_thankyou_instructions_table_html_expired filter)
  • Small debug tweaks on mbway.js
  • Minor tweaks on the plugin and readme.txt copy
  • Tested with WordPress 5.1 and WooCommerce 3.5.5

3.4.3

  • New option (activated by default) to force the resending of the “New Order” email (not the British Synthpop band), when the Multibanco payment is done via callback (this was happening erroneously before we fixed the stock management issue on 3.4.2, but we understand this is usefull for the Multibanco payment method)

3.4.2

  • Fix stock management when it’s set to decrease on order
  • New (experimental) feature: Request MB WAY payment again, on the order edit screen, available 15 minutes after the original request

3.4.1

  • Small tweak on mbway.js
  • Small tweak on the MB WAY payment instructions
  • Dropped support for WooCommerce prior to 2.2 / Bumped WC requires at least tag
  • Tested with WooCommerce 3.5.2 / Bumped WC tested up to tag
  • Tested with WordPress 5.0 / Bumped Tested up to tag

3.4

  • WooCommerce Deposits by webtomizer (experimental) integration on WooCommerce >= 3.0 (sponsored by mojobrands.net)
  • Bugfix: MB WAY details not showing up on wp-admin
  • Bugfix: Reduce stock correctly according to settings since WooCommerce changed it’s behaviour in 3.4.0

3.3.1

  • Improved the multibanco_ifthen_thankyou_instructions_table_html, multibanco_ifthen_set_on_hold, multibanco_ifthen_email_instructions_pending_send, multibanco_ifthen_email_instructions_table_html, multibanco_ifthen_sms_instructions, multibanco_ifthen_email_instructions_payment_received_send, multibanco_ifthen_email_instructions_payment_received, mbway_ifthen_thankyou_instructions_table_html, mbway_ifthen_enable_check_order_status_thankyou, mbway_ifthen_email_instructions_pending_send, mbway_ifthen_email_instructions_table_html, mbway_ifthen_email_instructions_payment_received_send, mbway_ifthen_email_instructions_payment_received, multibanco_ifthen_cancel_unpaid_orders_restore_stock and mbway_ifthen_cancel_unpaid_orders_restore_stock filters by passing the order id to them
  • Renamed filters_examples.php to hooks-examples.php and improved it with examples for all the plugin hooks

3.3

  • New actions for developers: multibanco_ifthen_created_reference, mbway_ifthen_created_reference, multibanco_ifthen_unpaid_order_cancelled, mbway_ifthen_unpaid_order_cancelled, multibanco_ifthen_callback_payment_complete, multibanco_ifthen_callback_payment_failed, mbway_ifthen_callback_payment_complete and mbway_ifthen_callback_payment_failed
  • Tested with WordPress * / Bumped Tested up to tag
  • Downgraded the Requires at least tag to reflect the fact the plugin is still compatible with WooCommerce 2.0 and above
  • Tested with WooCommerce 3.5.1 / Bumped WC tested up to tag
  • Added WC requires at least tag on the plugin main file

3.2.1.2

  • Fix when getting Order WPML language on WooCommerce below 3.0
  • Tested with WooCommerce 3.5 / Bumped WC tested up to tag

3.2.1.1

  • Fixed a small bug where the Multibanco payment details would be regenerated if, for some exotic reason, an order value was changed on wp-admin for already paid orders

3.2.1

  • New multibanco_ifthen_multibanco_settings_fields and multibanco_ifthen_mbway_settings_fields filters to allow 3rd party plugins to add fields to the Multibanco and MB WAY settings screen
  • index.php file because “best practices”
  • Small coding standards fixes

3.2

  • New behaviour for special entities that don’t allow repeated payments in a specific time frame (only for WooCommerce 3.0 and above)
  • New multibanco_ifthen_base_mbwaykey filter to be able to change the base MB WAY Key used to generate the payment details, based on the order, which may be useful for marketplaces
  • Bumped WC tested up to tag

3.1.2

  • Fix on the Twilio SMS integration (Thanks iOutlet)

3.1.1.2

  • SVN mess-up fix

3.1.1

  • GDPR chit-chat on the FAQ
  • We no longer store the mobile phone number used for MB WAY

3.1

  • Complete grammar and spelling review
  • MB WAY description limited to 70 characters (Site name #order_id)
  • Bumped WC tested up to tag

3.0.6

  • Fixed a fatal error bug if the order is not found when the MB WAY callback is invoked by IfthenPay
  • Better feedback to the customer, informing that there are only 5 minutes to complete the payment – because it seems SIBS has changed the timeout and told no one about it ¯_(ツ)_/¯

3.0.5

  • Better WooCommerce detection
  • Always round MB WAY values to two decimals
  • Clean problematic characters from the MB WAY payment description
  • Small fixes
  • Bumped WC tested up to tag

3.0.4

  • Debug when contacting the IfthenPay webservice to create the MB WAY payment request (shame on us…)
  • Better feedback to the customer, informing that there are only 15 minutes to complete the payment
  • Bumped WC tested up to tag

3.0.3

  • Better (and persistent) feedback related to the callback still not being asked to IfthenPay
  • Removed the mbway_ifthen_set_on_hold filter that no longer makes sense since 3.0.2

3.0.2

  • Changed the default MB WAY order status to “pending”, because there’s a time limit to pay for the order. Orders will be automatically canceled if you use the “Manage stock” and “Hold stock” settings on WooCommerce. You can use the “on-hold” behaviour like in Multibanco if you return false to mbway_ifthen_order_initial_status_pending. (Thanks for the mentoring @chrislema)
  • Fix: Multibanco logo was not showing up on the email notifications after 3.0
  • Fix: MB WAY Callback testing when WP_DEBUG = true
  • Fix: Checking for “pending” order status if applicable
  • Enhancement: hide callback and anti-phishing key if the settings were still not saved at least one time

3.0.1

  • Fix: Fatal error for Polylang using WPML compatibility

3.0

  • MB WAY support
  • Code refactoring
  • New retina ready and small icons
  • Several fixes

2.1.4

  • Fixed a bug where on WooCommerce < 3.0 references would be re-used incorrectly
  • Re-enabled the use of references when they’re not used anymore on on-hold or pending orders

2.1.3

  • Small change for compatibility with the new “WC – APG SMS Notifications” timer for on-hold status messages functionality
  • Bumped WC tested up to tag

2.1.2.1

  • Fix stable tag

2.1.2

  • Fix: Some code introduced in version 2.1 was only compatible with WooCommerce 2.6 and above and on minor versions a fatal error was thrown

2.1.1.1

  • Tested with WooCommerce 3.3

2.1.1

  • New multibanco_ifthen_cancel_unpaid_orders_restore_stock filter to which true should be returned if you want the stock for the products on auto-cancelled orders (by the multibanco_ifthen_cancel_unpaid_orders filter) to be restored;
  • FAQ improved;

2.1

  • WooCommerce Subscriptions (experimental) integration on WooCommerce >= …