Skip to content

Latest commit

 

History

History
executable file
·
273 lines (171 loc) · 10 KB

CHANGELOG.md

File metadata and controls

executable file
·
273 lines (171 loc) · 10 KB

Afterpay Magento 2 Extension Changelog

Version 3.0.4

25 Jan 2019 (AEDT)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.0.2 and later
  • Magento Enterprise Edition (EE) version 2.0.2 and later

Highlights

  • Improved support for HTTP/2.

Version 3.0.3

28 Nov 2018 (AEDT)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.1.1 and later
  • Magento Enterprise Edition (EE) version 2.1.1 and later

Highlights

  • Revised Portal and API URLs for Afterpay US.
  • Improved handling of front-end JS.
  • Removed deprecated "Payment Display" configuration options.
  • Removed deprecated cron job configuration.

Version 3.0.2

23 Oct 2018 (AEDT)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.1.1 and later
  • Magento Enterprise Edition (EE) version 2.1.1 and later

Highlights

  • Improved handling of unsupported store currencies.

Version 3.0.1

21 Nov 2018 (AEDT)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.1.1 and later
  • Magento Enterprise Edition (EE) version 2.1.1 and later

Highlights

  • Compliance with MEQP2

Version 3.0.0

Wed 10 Oct 2018 (AEDT)

Supported Editions & Versions

Highlights

Version 3.0.0 of the Afterpay Magento 2 Extension includes:

  • United States Afterpay transaction processing.
  • Region specific front-end display.
  • Removal of Afterpay Merchant API v0 connectivity.

Community & Enterprise Edition Enhancements

United States Afterpay transaction processing

  • Introduction of connectivity to the Afterpay Merchant US API endpoints.
  • Adapted the API payload to support United States merchants and Afterpay transactions.
  • Extended Currency detection to ensure USD currency is sent to Afterpay Merchant US API endpoints.
  • Allows Single-Market use to Australia, New Zealand or US; and supports Multi-Market use in Australia, New Zealand & US.

Region specific front-end display

  • Introduction of region specific front-end display to align with market language.
  • This functionality is present on the Magento 2 product, cart and checkout pages.

Removal of Afterpay Merchant API v0 connectivity

  • Removal of configuration method and functional to transact via Afterpay Merchant API v0.
  • Version 3.0.0 will exclusively allow configuration for Afterpay Merchant API v1, ensuring a simplified transaction process.

Miscellaneous

  • Extended support for Afterpay instalment amount updates on configurable products.
  • Implemented email address validation on checkout form to remove illegal characters prior to initial Afterpay API call.
  • Extended support for Afterpay instalment amount display on checkout page to display total order value, including shipping and tax.
  • Updated checkout instalment calculations for total order values not evenly divisible by 4.
  • Enhanced Payment Limits update function to accommodate empty/null merchant account minimum order value.
  • Expanded Afterpay logging entries of refund exceptions.
  • Updated PHPUnit namespace to accommodate PHPUnit 6.0.0+.

Version 2.0.2

Thu 23 Nov 2017 (AEDT)

Supported Editions & Versions

Highlights

Version 2.0.2 of the Afterpay Magento 2 Extension delivers:

  • Single and Multi-Market Afterpay transaction processing.
  • Extended support for Magento Order Confirmation emails.
  • Implemented Magento default Mini-Cart clearing.
  • Magento timeout value override.
  • Improved Payment Limits API call.

Community & Enterprise Edition Enhancements

Single and Multi-market Afterpay transaction processing

  • Adapted the API payload to support New Zealand merchants and Afterpay transactions.
  • Utilised Magento "State Required" functionality to validate the API payloads based on country requirements.
  • Implemented Website Base Currency detection to ensure correct currency is sent to Afterpay API.
  • Extends Single-Market use to New Zealand and supports Multi-Market use in Australia and New Zealand.

Extended support for Magento Order Confirmation emails

  • Extended support for triggering the Magento Order Confirmation email following an approved Afterpay transaction.
    • Previously Magento triggered the sending of a Order Confirmation email upon order creation.
    • The trigger was altered in Magento 2.1.4 (and subsequent versions).
    • Plugin version 2.0.2 programmatically trigger the Magento Order Confirmation email.

Implemented Magento default Mini-Cart clearing

  • Implemented programmatic removal of the Shopping Cart (Mini-Cart) contents when Afterpay transaction is successful.
    • Previously upon a successful Afterpay transaction, the Mini-Cart presented as retaining the contents of the order despite the Shopping Cart contents being cleared.

Magento timeout value override

  • Implemented override function for the Magento 2 default timeout value.
  • The override function is set to 80 seconds to extend Magento's 10 default second timeout value.
  • This will ensure that Magento processes responses from the Afterpay API up to 80 seconds.

Improved Payment Limits API call

  • Updated the Payment Limits API call to target Afterpay API V1 Payment Limits Endpoint.
    • Previously the Payment Limits API call targeted Afterpay API V0.
  • Added logging on Payment Limits query to monitor incorrect Merchant ID and Key combinations.
    • Following a Payment Limits API call, an entry is created on the afterpay.log file with the Merchant ID and masked Secret Key.
    • The log entry includes both the Payment Limits API request and response.

Miscellaneous

  • Implemented Afterpay instalment display on the Magento checkout page.
  • Added Afterpay-Magento2 plugin version display with the Payment Method configuration section with Magento Admin.
  • Implemented a JavaScript activation delay on the checkout page.
    • Ensures all other checkout page AJAX requests have been completed prior to redirection to Afterpay payment gateway.
  • Updated POST request to the Orders API endpoint to display item quantity and price in Afterpay Portal

Version 2.0.1

Thu 13 Apr 2017 (AEST)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.1.1 and later
  • Magento Enterprise Edition (EE) version 2.1.1 and later

Highlights

Version 2.0.1 of the Afterpay Magento 2 Extension delivers:

  • Magento 2 Multi-Website compatibility
  • Improved API logging mechanism

Community & Enterprise Edition Enhancements

Multi-Store Compatibility

  • Introduction of Afterpay configuration saving and retrieval mechanism to utilise Magento 2 Multi-Websites functionality
  • Afterpay CRON will perform updates to Afterpay Merchant minimum/maximum limits to all configured Magento Websites.
  • Afterpay "Update Payment Limits" button in Magento Admin to retrieve the details based on the associated Magento Website's Afterpay Merchant ID and Secret Key configuration
  • Order refunding functionality to retrieve the associated Magento Website's Afterpay Merchant ID and Secret Key configuration.
  • Afterpay front-end asset display controlled relative to the associated Magento Website's Afterpay Merchant minimum/maximum limits.

Improved API Logging Mechanism

  • Enhanced User Agent detail logging.
  • Additional Afterpay logging on the Transaction Integrity Checking, Payment Capture and Order Creation processes
  • Additional front-end checkout validation related to Billing details required by Afterpay API.

Miscellaneous

  • Enhanced Order Item quantity API call to acquire quantities from Magento Quote for display in Afterpay Merchant Portal.
  • Additional Magento Admin error reporting related to invalid Merchant ID and Secret Key configuration.

Version 2.0.0

Fri 17 Feb 2017 (AEDT)

Supported Editions & Versions

  • Magento Community Edition (CE) version 2.1.1 and later
  • Magento Enterprise Edition (EE) version 2.1.1 and later

Highlights

Version 2.0.0 of the Afterpay Magento 2 Extension delivers:

  • Enhanced order and payment capture processing for Magento 2 Community Edition and Enterprise Edition via Afterpay Merchant API V1
  • Verification of transaction integrity

Community & Enterprise Edition Enhancements

Order and payment capture processing

  • Access via Afterpay Merchant API V1 has been introduced with this version of the Afterpay-Magento 2 plugin.
  • Following successful payment capture by Afterpay, the following records are created in Magento:
  • Magento order with a status of Processing
  • Magento invoice with a status of Paid
  • Afterpay will no longer create Magento orders with a status of Pending, Cancelled or Failed.

Security

  • To verify the integrity of each transaction, an additional API call has been implemented.
  • This call verifies the transaction integrity by comparing the original value at time of checkout against the value present prior to payment capture, of the following:
    • Afterpay token ID
    • Magento Quote reserved order ID
    • Magento Quote total amount
  • In the instance of a discrepancy between these values, the transaction is cancelled and no payment capture attempts will be made.

Product-level Configuration enhancements

  • Merchant's Afterpay transaction limits are now applied at the Product-level as well as at the Checkout-level.
  • Magento Admin Afterpay plugin Enabled / Disabled dropdown now removes Product-level assets when set to 'Disabled'.

Miscellaneous

  • Validation of merchant credentials (Merchant ID and Merchant Key) extended to exclude non-alphanumeric characters.

Version 1.0.0

Thu 23 Jun 2016 (AEST)

Highlights

  • Uploaded the initial development suite