Interessado no desenvolvimento?

Registo de alterações

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

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 >= 3.0: Automatically sets renewal orders to be paid by Multibanco and generates the new payment details;

Fix: Deletes payment details from orders that no longer have Multibanco as the payment method;

Do not show payment instructions in the “Thank you” page unless the order is on hold or pending (edge cases);

Show payment instructions in the order details screen on “My Account”;

2.0.4.1

Version fix

2.0.4

YITH WooCommerce SMS Notification plugin integration: it’s now possible to add Multibanco payment details to the SMS message sent by this plugin by using the {multibanco_ifthen} variable on the message template

2.0.3

New multibanco_ifthen_email_instructions_pending_send filter to which you can return false so that the payment instructions are not included in the “new order” email, although we do not recommend doing it

New multibanco_ifthen_email_instructions_payment_received_send filter to which you can return false so that the payment received message is not included in the “processing” email

Bumped Tested up to tag

2.0.2

Database abstraction on WooCommerce 3.0 and above, by using wc_get_orders

Small adjustments

2.0.1

New multibanco_ifthen_set_on_hold filter to be able to leave the order pending instead of on hold by returning false – use at your own risk

New multibanco_ifthen_cancel_unpaid_orders filter to be able to enable order auto cancelation by WooCommerce, if “Manage stock” and “Hold stock (minutes)” are configured, by returning true – use at your own risk

Bumped Tested up to and WC tested up to tag

2.0

Twilio SMS Notifications plugin integration: it’s now possible to add Multibanco payment details to the SMS message sent by this plugin by using the %multibanco_ifthen% variable on the message template

Small improvements in coding standards

readme.txt improvements

1.9.4

Support for new special entities that allow using the order id to generate the reference (because no check digits are needed), and, in the future, will also allow expiration date

Better feedback on the logs location on WooCoommerce 3.0 and above

1.9.3.5

Rollback the French translation to the local plugin folder, because it’s still not approved on GlotPress

1.9.3.4

Tested with WooCommerce 3.2

Added WC tested up to tag on the plugin main file

Bumped Tested up to tag

1.9.3.3

Avoid duplicate email instructions in some edge cases (fix)

1.9.3.2

Avoid duplicate email instructions in some edge cases

1.9.3.1

Removed the translation files from the plugin lang folder (translations are now managed width WordPress.org’s GlotPress tool and will be automatically downloaded from there)

1.9.3

Fixed text domain (changed from multibanco_ifthen_for_woocommerce to multibanco-ifthen-software-gateway-for-woocommerce) to make it compatible with WordPress.org translation system (Glotpress)

Fix several strings that were using the woocommerce textdomain instead of our own

Bumped Tested up to tag

1.9.2

Using WC() instead of $woocommerce

Using wc_reduce_stock_levels() instead of $order->reduce_order_stock() on WooCommerce 3.0 and above

Using WC()->customer->get_billing_country() instead of WC()->customer->get_country() on WooCommerce 3.0 and above

1.8.2

1.8.1

Fix: The callback url sent to IfthenPay would use http:// even if ssl was active

Bumped “Tested up to” tag

1.8

If the order changes value on the backend, normally by adding or removing products, a new reference is created to replace the old one. The customer can be notified of the new reference if that option is checked on the plugin settings

On orders created on the backend the reference is now created correctly, even if it’s not sent to the customer email because of a WooCommerce bug (that is going to be fixed when this commit goes into production https://github.com/woothemes/woocommerce/commit/7dadae7bc80a842e10e78a972334937ed5c4416a)

Choose either to include the payment instructions on emails sent to admin, or not

Better feedback on the payment details info box on the backend

Small adjustments on the settings screen, typos fixing and code improvments

1.7.9.1

Possibility to dismiss the new “Callback” activation notice

New warning only on the settings page, before the “Callback” activation button

1.7.9

Warning for new users that haven’t yet asked IfthenPay for the “Callback” activation

New multibanco_ifthen_email_instructions_payment_received filter to customize the “Multibanco payment received” text on emails

Bugfix: Sometimes the “Multibanco payment received” wouldn’t show up on the client email

1.7.0.2

1.7.0.1

1.7

New “SMS payment instructions” class to be able to integrate with SMS sending plugins in the future

New multibanco_ifthen_sms_instructions filter to customize the SMS payment instructions

WooCommerce – APG SMS Notifications plugin integration: it’s now possible to add the Multibanco payment details to the SMS message sent by this plugin by using the %multibanco_ifthen% variable on the message template

1.6

It’s now possible to decide either to reduce stock when the payment is confirmed via callback (default) or when the order is placed by the client. On the first case you don’t have to fix the stock if the order is never paid but you’ll also not have the quantity reserved for this order. On the second case you’ll have to manually fix the stock if the order is never paid.

There’s 2 filters that allow changing the payment instructions on both the “Thank you” page and on the client email. You can choose either to manipulate the default HTML or create your own. See filters_examples.php

Minor Portuguese translation tweaks.

1.5.1

Minor visual tweaks

Fix: eliminated some notices and warnings

1.5

It’s now possible to enable this payment method only for orders below a specific amount

Fix: No more values passed by reference, in order to avoid “deprecated” notices from PHP

Fix: Bug on the option introduced on version 1.3

1.4.2

Removed unused add_meta_box code

1.4.1

Minor Multibanco logo improvements (Thanks Gumelo)

Fix: Small bug when detecting multisite installs

1.4

WordPress Multisite support

1.3

It’s now possible to enable this payment method only for orders above a specific amount