Plugin Directory

Multibanco (IfthenPay gateway) for WooCommerce

This plugin allows Portuguese customers to pay WooCommerce orders with Multibanco (Pag. Serviços), using the IfthenPay payment gateway.

Can I start receiving payments right away? Show me the money!

Nop! You have to sign a contract with IfthenPay in order to activate this service. Go to http://www.ifthenpay.com for more information.

The generated reference does not contain the order number. How will I know which order as been paid?

IfthenPay will send you an email each time a reference is paid, but the reference does not contain the order number. This is by design: our plugin does not include the order number on the reference because of the way WooCommerce/WordPress set orders/posts IDs.

Anyway, you do not need the order number on the reference because our plugin uses a callback mechanism so that IfthenPay can automatically notify WooCommerce that a specific reference was paid. The order is linked to the reference on the database and will, also automatically, be set as paid.

If you still need to know to which order a reference is linked to, you can use the search box on the WooCommerce Orders administration screen.

Can I test the callback call to simulate a payment and test what will happen when a real payment is made by a customer?

Yes, you can. Edit you wp-config.php file and set WP_DEBUG to true. Then place a test order on the frontend, go to the order edit screen and click the button that says "Simulate callback payment".

Can I use this plugin / IfthenPay service on more than one website?

Yes, but not with the same subentity. Ask IfthenPay for a different subentity for each website you want to use the service on. There is no extra costs involved, and you can even route the payments for distinct bank accounts.

My website is multilingual. Will I be able to use this plugin?

Yes. This plugin is officially WPML compatible. You will need the WPML and WPML String Translation Plugins (alongside with WooCommerce Multilingual that is mandatory for any WooCommerce + WPML install).

[WPML] How can I translate the payment method title and description that the client sees on the checkout page for secondary languages?

Go to WPML > String Translation > Search and translate the multibanco_ifthen_for_woocommerce_gateway_title and multibanco_ifthen_for_woocommerce_gateway_description strings on the woocommerce domain. Don't forget to check the “Translation is complete” checkbox and click “Save”. You should also translate the “Extra instructions” string by searching the multibanco_ifthen_for_woocommerce_extra_instructions string on the multibanco_ifthen_for_woocommerce domain.

[SMS] How to include the Multibanco payment instructions on the SMS sent by “WooCommerce - APG SMS Notifications”?

Go to WooCommerce > SMS Notifications and add the %multibanco_ifthen% variable to “Order received custom message”.

Can I change the payment instructions look and feel on the “Thank you” page and/or the new order email, as well as the SMS message format?

Yes you can! But you have to know your way around WordPress filters. There are two filters to do this and you can find examples of them inside filters_examples.php.

Can I change the Multibanco icon on the checkout page?

There's also a filter for this. See filters_examples.php.

Can I use a specific Entity or Subentity based on order details?

Yes, you should use the multibanco_ifthen_base_ent_subent filter. See filters_examples.php.

I want to charge an additional fee for payments via Multibanco. How should I do it?

You don't! It's illegal under Portuguese legislation to charge more based on the payment method chosen by the customer. If you don't care about the law, there are plugins that allow setting extra fees per payment method, but don't ask us for support regarding this.

IfthenPay says my callback URL is returning a 404 error. Should I sit in a corner and cry or is there a solution?

Don't cry! There's a solution! You probably have weird permalink settings (or no permalinks set at all) on your WordPress installation. Tell them to change the callback URL from http://yourwebsite/wc-api/WC_Multibanco_IfThen_Webdados/?chave=CHAVE_ANTI_PHISHING&entidade=ENTIDADE&referencia=REFERENCIA&valor=VALOR to http://yourwebsite/?wc-api=WC_Multibanco_IfThen_Webdados&chave=CHAVE_ANTI_PHISHING&entidade=ENTIDADE&referencia=REFERENCIA&valor=VALOR.

I need technical support. Who should I contact, IfthenPay or Webdados?

Although this is the official IfthenPay WooCommerce plugin, the development and support is Webdados responsibility. For free/standard support you should use the support forums here at WordPress.org For premium/urgent support or custom developments you should contact Webdados directly. Charges may (and most certainly will) apply.

Requires: 4.4 or higher
Compatible up to: 4.6.1
Last Updated: 1 week ago
Active Installs: 900+


5 out of 5 stars


1 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,2,2 100,2,2 100,2,2
100,2,2 100,2,2
100,2,2 100,2,2 100,2,2 100,2,2 100,2,2
100,2,2 100,2,2 100,2,2 100,2,2
100,2,2 100,2,2 100,2,2 100,2,2