Plugin / Multibanco, MBWAY and Payshop (IfthenPay) for WooCommerce

Webdados

Frequently Asked Questions (FAQ)

Nop! You have to sign a contract with IfthenPay in order to activate this service. Go to https://ifthenpay.com for more information.
No. IfthenPay only provides this service to registered businesses and equivalent (like tax registered freelancers, for example). You should contact them if you need additional details on this matter.
IfthenPay will send you an email each time a reference is paid, but the reference does not contain the order number. By design, our plugin does not include the order number in the reference due to the way WooCommerce/WordPress set orders/posts IDs. Anyway, you do not need the order number in the reference, because our plugin uses a callback mechanism. IfthenPay automatically notifies WooCommerce when a specific Multibanco reference is used for payment. The order is linked to the reference in the database and, also automatically, will be set as paid. If you still need to know to which order a reference is linked to, use the search box in the WooCommerce Orders administration screen.
Yes, you can. Edit your wp-config.php file and set WP_DEBUG to true. Then, place a test order in the frontend using Multibanco or MB WAY. Go to the order edit screen and click the “Simulate callback payment” button.
Yes, but not with the same Multibanco entity and subentity or MB WAY Key. Ask IfthenPay for different credentials for each website you need the service to be available. There is no extra costs involved, and you can even route payments to distinct bank accounts.
Yes you can! But you should know your way around WordPress filters. There are filters to do this and you can find examples within hooks-examples.php.
There are also filters for this. See hooks-examples.php.
You shouldn’t! To our knowledge, it’s illegal under Portuguese law to charge an extra fee based on the payment method chosen by the customer. If you don’t care about legislation, plugins are available that allow you to set extra fees per payment method. Please, don’t ask us for support on this.
The MB WAY payment requests expire after 5 minutes.
Yes. This plugin is officially WPML compatible. You will need the WPML and WPML String Translation Plugins (alongside WooCommerce Multilingual, which is mandatory for any WooCommerce + WPML install).
Go to WPML > String Translation > Search and translate the multibanco_ifthen_for_woocommerce_gateway_title, multibanco_ifthen_for_woocommerce_gateway_description, mbway_ifthen_for_woocommerce_gateway_title and mbway_ifthen_for_woocommerce_gateway_description strings in the woocommerce domain. Don’t forget to check the “Translation is complete” checkbox and click “Save”. You should also translate the “Extra instructions” strings by searching the multibanco_ifthen_for_woocommerce_extra_instructions string on the multibanco_ifthen_for_woocommerce domain and the mbway_ifthen_for_woocommerce_extra_instructions string on the mbway_ifthen_for_woocommerce domain.
Go to WooCommerce > SMS Notifications and add the %multibanco_ifthen% variable to “Order on-hold custom message”.
Go to WooCommerce > Settings > SMS and add the %multibanco_ifthen% variable to “Customer Notifications“ > “On Hold SMS Message”.
Go to YITH Plugins > SMS Notifications > SMS Settings and add the {multibanco_ifthen} variable to “On hold”.
Yes, you should use the multibanco_ifthen_base_ent_subent filter. See hooks-examples.php.
Yes, you should use the multibanco_ifthen_base_mbwaykey filter. See hooks-examples.php.
I don’t know why on earth you would want to do this, but… yes, you can. Just return false to the multibanco_ifthen_set_on_hold and/or mbway_ifthen_set_on_hold filter. Be advised that no “new order” email, with payment instructions, will be sent to the customer unless you use some plugin or custom code to force it.
WooCommerce only automatically cancels “Pending” orders, not “On Hold”, because these orders are set to be paid by offline methods (like this one), and payment can occur at any time, even after the order is canceled. Still, if you want to take that risk, just return true to the multibanco_ifthen_cancel_unpaid_orders and/or mbway_ifthen_cancel_unpaid_orders filter. You can also restore that order’s product stock by returning true to the multibanco_ifthen_cancel_unpaid_orders_restore_stock and/or mbway_ifthen_cancel_unpaid_orders_restore_stock filter, although the WooCommerce team doesn’t recommend it. Be advised the Multibanco reference will still be active and can be paid at any ATM or home banking service.
You can use the multibanco_ifthen_email_instructions_pending_send and/or mbway_ifthen_email_instructions_pending_send filter: return false and the payment instructions won’t be included in the “new order” email – we do not recommend you to do it, though. You can use the multibanco_ifthen_email_instructions_payment_received_send and/or mbway_ifthen_email_instructions_payment_received_send filter: return false and the payment received message won’t be included in the “processing” email.
Don’t cry! There’s a solution! You probably have weird permalink settings (or permalinks not set at all) in your WordPress installation. Tell them to change the callback URL from https://yourwebsite/wc-api/WC_Multibanco_IfThen_Webdados/?chave=[CHAVE_ANTI_PHISHING]&entidade=[ENTIDADE]&referencia=[REFERENCIA]&valor=[VALOR] to https://yourwebsite/?wc-api=WC_Multibanco_IfThen_Webdados&chave=[CHAVE_ANTI_PHISHING]&entidade=[ENTIDADE]&referencia=[REFERENCIA]&valor=[VALOR].
Although this is the official IfthenPay WooCommerce plugin, development and support is provided by Webdados. For free/standard support you should use the support forums here at WordPress.org For premium, urgent and experimental integrations support or custom developments you should contact Webdados. Charges may (and most certainly will) apply.
This plugin does not collect or send to Webdados (the plugin author) or IfthenPay (the payment processor) any private data of the website where it’s installed, it’s customers or the orders themselves. In the MB Way module, the mobile phone number is collected to request the payment authorization and it can be legitimately processed based on article 6 (1) (b) of the GDPR. IfthenPay’s privacy policy can be found at https://ifthenpay.com/termos-politica-privacidade/
Sure. Go to GlotPress and help us out.

Ratings

5
13 reviews

Rating breakdown

Details Information

Version

4.0.6

First Released

08 Dec, 2013

Total Downloads

47,246

Wordpress Version

3.8 or higher

Tested up to:

5.2.5

Require PHP Version:

-

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.