Get started
- Home
- /
- Avarda Checkout for WooCommerce
- /
- Changelog
Changelog
1.11.2
- Fix - Fixed an incorrect meta query during the confirmation step if the order id was missing from the url.
- Fix - Improved checks before we confirm an order to ensure the payment id from Avarda matches the stored payment id in the order.
- Fix - Fixed a potential fatal error when handling a callback from Avarda, that happened due to logging the order id before ensuring we had an order.
- Fix - Delete meta data fix for redirect flow. Could cause fatal error.
- Feature - Adds support for recurring payments via WooCommerce Subscriptions plugin.
- Feature - Adds support for WooCommerce "High-Performance Order Storage" (HPOS) feature.
- Feature - Add setting and logic for age validation.
- Tweak - Improvements in how and when customer full address data is fetched from Avarda during creation of Woo order.
- Fix - Fix compatibility with Smart Coupons.
- Fix - Trigger update to Avarda on a later priority (999999) in woocommerce_after_calculate_totals action to be compatible with newer versions of Smart Coupons.
- Feature - Adds support for gift cards via Smart Coupons plugin.
- Tweak - Updates plugin to use new endpoint URLs for Avarda API.
- Feature - Adds support for Avardas refund order logic (refund/release reserved amount before the payment is captured).
- Feature - Adds settings for custom payment gateway icon.
- Tweak - Specifying quantity on order lines sent to Avarda.
- Fix - PHP 8.1 deprecated notice fix.
- Fix - Improvement in check that current Avarda session step can be updated before sending update request. Solves potential issue with deleted/missing payment session.
- Fix - Solve issue with fee amount and fee tax amount in activate order request.
- Feature - Adds last 15 requests to Avarda that had an API error and display them on the WooCommerce status page. These will also be in the status report that you can send to Krokedil for support tickets.
- Fix - Do not try to make update payment session request to Avarda if session is in redirected to payment method state.
- Tweak - Adds functionality to enable custom payment method names. Can be filtered/tweaked via aco_order_set_payment_method_title.
- Tweak - Set orderReference on init call to Avarda when Woo order is vailable (used for redirect flow).
- Tweak - Move enqueue of JS and CSS to assets class.
- Tweak - Only run wp_localize_script & wp_enqueue_script if ACO is used. Results in Avarda purchase session only created if Avarda Checkout is about to be displayed.
- Tweak - Move maybeChangeToACO JS function into separate utility JS file.
- Fix - Fix bug related to "Avarda JWT token issue" error message displayed in checkout. Could happen if checkout flow settings wasn't saved in plugin settings page.
- Fix - Confirm that the JWT token used in frontend is the same as the one stored in backend when sending session updates to Avarda.
- Tweak - Move update request to Avarda from ajax function to woocommerce_after_calculate_totals.
- Tweak - Improve request class logic.
- Tweak - Improve error message notice display in checkout.
- Tweak - Query orders 5 days back in confirm_order sequence.
- Tweak - Remove wc_print_notices in template files. Not needed anymore. WooCommerce handles this.
- Tweak - Callback notifications now handled 2 minutes after purchase if needed.
- Tweak - Logging improvements.
- Fix - Send correct data to customer city & country for redirect flow.
- Feature - Adds support for pay for order logic. Merchant can now create an order in admin and send a pay link to a customer, where they can finish the payment using Avarda Checkout.
- Feature - Adds support for redirect checkout flow. Regular Woo checkout page is used and Avarda Checkout is instead rendered on order recipt page.
- Tweak - Adds compatibility support with Woo Carrier Agents plugin.
- Tweak - Logging improvements.
- Fix - Redirects customer to thankyou page directly instead of rendering Avarda Checkout and then redirecting customer. Avoids potential issues if customer is redirected back from 3DS after Avarda session time expired.
- Tweak - Adds helper function get_tax_rate and get_item_tax_amount to improve tax calculation for fees in order management.
- Fix - Unset session and trigger reload of checkout page if GET request in process_payment function fails (usually when Avarda session has timed out).
- Fix - Use billing address data if shipping address doesn't exist. Fixes issue where shipping first and last name might be missing when order should be created in Woo.
- Fix - Creates a new Avarda session if purchase_id has state TimedOut. Avoids issue when customer don't finalize purchase under 1 hour.
- Enhancement - Adds filter aco_locate_template to be able to load ACO checkout template from other plugins.
- Enhancement - Adds hook aco_wc_confirm_avarda_order in confirmation step.
- Enhancement - Adds payment gateway logo displayed in checkout.
- Tweak - Stores _avarda_payment_method_fee if returned from Avarda.
- Tweak - Adds calc_shipping_country, calc_shipping_state and calc_shipping_postcode as standard checkout fields (that should not be displayed in checkout when ACO is the selected payment method).
- Tweak - Moves add_extra_checkout_fields function to aco-functions file. Makes it easier to use remove_cation if checkout design modifications is performed via separate plugin/theme.
- Tweak - Adds logging to update Avarda order ajax request. For easier trouble shooting.
- Fix - Saves all Avarda payment info (JWT token and purchase ID) in the same WC session (aco_wc_payment_data). To avoid updating different sessions in frontend and backend.
- Tweak - Create new purchase ID if customer changes currency or language during ongoing session.
- Enhancement - Adds separate filters for create (aco_create_args) and update (aco_update_args) requests sent to Avarda.
- Fix - Save company name correctly to WooCommerce order for B2B purchases.
- Fix - Floating point precision fix (many decimals sent to Avarda) for refund requests.
- Tweak - Standard Woo checkout fields check improvement.
- Tweak - Adds filter aco_ignored_checkout_fields to be able to modify the checkout form fields that should not be displayed on the Avarda Checkout page.
- Fix - Adds JWT token time expiry check.
- Fix - Floating point precision fix (many decimals sent to Avarda) for refund requests.
- Fix - Save Billing company name correct in WooCommerce order for B2B purchases.
- Fix - Improvement of previous fix where to many decimals might get sent in prices to Avarda.
- Tweak - Bumped required PHP version to 7.0.
- Fix - Solved issue with to many decimals sent to Avarda (could happen in certain dev environments). Change from round to number_format.
- Feature - Adds support for sending in termsAndConditionsUrl to Avarda (if set in WooCommerce).
- Tweak - Changed Initialize checkout request endpoint to /api/partner/payments/.
- Tweak - Adds request_url to logging.
- Tweak - Added stack trace to logger.
- Tweak - Reduce the amount of update requests in checkout.
- Fix - Delete current purchase id stored in Woo session if GET or PUT request to Avarda fails.
- Tweak - Tweak WC checkout form submission logic. The plugin is no longer reliant on a hashchange to send beforeSubmitContinue reponse to Avarda.
- Tweak - Adds logging to logfile from frontend actions in checkout (during payment completion).
- Tweak - Don't load checkout scripts on thankyou page.
- Enhancement - Added support for server side callback url. Handles order status control better for payments where customer not returning to shop after completed Card/Swish payments.
- Tweak - Increased timeout time to 10 seconds in request to Avarda.
- Tweak - Move Woo order confirmation process to separate class.
- Fix - Don't make cancel or activate requests if the WooCommerce order hasn't been paid for.
- Enhancement - Added Swedish translation.
- Enhancement - Avarda payment method title is added to the WooCommerce order.
- Enhancement - Added support for displaying the languages Norwegian and Danish in Avarda checkout.
- Enhancement - WooCommerce order number is now saved as the order reference in AvardaOnline.
- Fix - Fix for validating order correct in checkout.
- Fix - Load correct javascript checkout file depending on if plugin is in testmode or not.
- Fix - Delete request token transient when credentials is changed.
- Tweak - Initialize payment request is using the Avarda legacy endpoint.
- Enhancement - Trigger event when Avarda Checkout form is loaded on checkout page.
- Enhancement - Support for Swedish, Finnish and English language in the checkout.
- Enhancement - Prevent doing update request when payment has state Completed or TimedOut.
- Fix - Fix for extra checkout fields not showing up on checkout page.
- Feature - Added support for customizing the Avarda Checkout through a filter.
- Fix - Fix for endless spinning wheel at checkout if something went wrong in Avarda.
- Tweak - Change the way plugin is fetching data from payment status request.
- Enhancement - Initialize new payment at checkout if current payment timed out.
- Tweak - Updated readme file.
- Initial release.