afterpay-global / module-afterpay
afterpay-global/module-afterpay
Magento 2 Afterpay Payment Module
Afterpay for Magento 2
Installation
Install using Composer (Recommended)
- From the CLI, run the following commands to install the Afterpay module.
The right installation command is dependent on your Magento 2 version:Magento version Command to run 2.4.* composer require afterpay-global/module-afterpay:^5 2.3.* composer require afterpay-global/module-afterpay:^4 < 2.3.0 composer require afterpay-global/module-afterpay:^3 - Run Magento install/upgrade scripts:
php bin/magento setup:upgrade - Compile dependency injection:
php bin/magento setup:di:compile - Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy - Flush Magento cache:
php bin/magento cache:flush
Install manually
- Download the Afterpay module for Magento 2 - Available as a .zip or tar.gz file from the Afterpay GitHub directory.
The right installation module is dependent on your Magento 2 version:Magento version Download 2.4.* Afterpay 2.3.* Afterpay:4.* < 2.3.0 Afterpay:legacy - Unzip the file
- Create directory `Afterpay/Afterpay` in: [MAGENTO]/app/code/
- Copy the files to `Afterpay/Afterpay` folder
- Run Magento install/upgrade scripts:
php bin/magento setup:upgrade - Compile dependency injection:
php bin/magento setup:di:compile - Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy - Flush Magento cache:
php bin/magento cache:flush
Afterpay Merchant Setup
Complete the below steps to configure the merchant’s Afterpay Merchant Credentials in Magento Admin.
Note: Prerequisite for this section is to obtain an Afterpay Merchant ID and Secret Key from Afterpay.
- Navigate to Magento Admin/Stores/Configuration/Sales/Payment Methods/Afterpay
- Enter the Merchant ID and Merchant Key.
- Enable Afterpay plugin using the Enabled checkbox.
- Configure the Afterpay API Mode (Sandbox Mode for testing on a staging instance and Production Mode for a live website and legitimate transactions).
- Save the configuration.
- Navigate to Magento Admin/System/Tools/Cache Management
- Click Flush Magento Cache button
Upgrade
Composer Upgrade (Recommended)
This section outlines the steps to upgrade the currently installed Afterpay plugin version using composer.
Notes: Prerequisite for this section is that the module should be installed using composer. Please see section 'Install using Composer' for guidelines to install Afterpay module using composer.
[MAGENTO] refers to the root folder where Magento is installed.
- Open Command Line Interface and navigate to the Magento directory on your server
- In CLI, run the below command to update Afterpay module:
The right installation command is dependent on your Magento 2 version:Magento version Command to run 2.4.* composer require afterpay-global/module-afterpay:^5 2.3.* composer require afterpay-global/module-afterpay:^4 < 2.3.0 composer require afterpay-global/module-afterpay:^3 - Make sure that Composer finished the update without errors
- Run Magento install/upgrade scripts:
php bin/magento setup:upgrade - Compile dependency injection:
php bin/magento setup:di:compile - Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy - Flush Magento cache:
php bin/magento cache:flush
Manual Upgrade
This section outlines the steps to upgrade the currently installed Afterpay plugin version.
The process of upgrading the Afterpay plugin version involves the complete removal of Afterpay plugin files.
- Remove Files in: [MAGENTO]/app/code/Afterpay/Afterpay
- Download the Magento-Afterpay plugin - Available as a .zip or tar.gz file from the Afterpay GitHub directory.
The right Afterpay module upgradation is dependent on your Magento 2 version:Magento version Download 2.4.* Afterpay:latest 2.3.* Afterpay:4.* < 2.3.0 Afterpay:legacy - Unzip the file
- Copy the files in folder to: [MAGENTO]/app/code/Afterpay/Afterpay
- Open Command Line Interface
- In CLI, run the command to enable Afterpay module:
php bin/magento module:enable Afterpay_Afterpay - Run Magento install/upgrade scripts:
php bin/magento setup:upgrade - Compile dependency injection:
php bin/magento setup:di:compile - Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy - Flush Magento cache:
php bin/magento cache:flush
Uninstall
- From the CLI, run the following commands to uninstall Afterpay module:
bin/magento module:uninstall Afterpay_Afterpay - Run Magento install/upgrade scripts:
php bin/magento setup:upgrade - Compile dependency injection:
php bin/magento setup:di:compile - Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy - Flush Magento cache:
php bin/magento cache:flush
Headless support
Module supports GraphQL and REST API. See GraphQL and Rest API
Afterpay Magento 2 Extension Changelog
Version 3.4.3
Wed 08 Sep 2021
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Community Edition (CE) version 2.4.3
- Magento Enterprise Edition (EE) version 2.4.2
Highlights
- Disabled Express Checkout for virtual products.
- Improved the asset cache handling.
- Improved customer email address validation to allow symbols such as “+”.
- Improved debug logging.
Version 3.4.2
Wed 16 June 2021
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Enterprise Edition (EE) version 2.4.2
Highlights
- Extended Express Checkout to support Product Detail Pages (PDP) and mini-cart.
- Introduced a separate section for Express Checkout in the Admin Panel.
- Removed the requirement to provide a key for Express Checkout in the Admin Panel.
- Improved handing of invalid customer addresses.
- Improved error handling in Express Checkout.
- Improved JS configurations.
Version 3.4.1
Wed 05 May 2021
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Enterprise Edition (EE) version 2.4.2
Highlights
- Improved support for Cross Border Trade (CBT).
- Improved handling of exceptions at Checkout.
- Improved JS configurations.
- Improved support for native Terms and Conditions.
- Improved support for local currency formatting on product detail pages.
Version 3.4.0
Wed 24 Mar 2021
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Enterprise Edition (EE) version 2.4.2
Highlights
- Introduced an implementation of Express Checkout.
- Improved instalment calculations by adding coverage for additional scenarios.
- Improved the asset placement on PDP and cart pages.
- Improved invoice payment context to remove unnecessary details from consumer order notifications.
Version 3.3.0
Wed 13 Jan 2021
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Enterprise Edition (EE) version 2.4.1
- Magento Enterprise Edition (EE) version 2.3.5-p1
Highlights
- Implemented the JS Library for asset placement on PDP and Cart page.
- Added new admin options to enable/disable display of Afterpay assets on PDP and Cart page.
- Moved the Afterpay PDP assets for “Bundle” products.
- Improved Cross Border Trade (CBT) configuration to update automatically in sync with the nominated Merchant account.
- Improved support for multi-currency configurations.
- Improved compatibility with PHP 7.4.
- Improved compatibility with third-party "Fraud Prevention" modules while saving admin configuration.
- Improved visual quality of UI assets.
- Improved support for refunding unshipped items in Deferred Payment Flow.
Version 3.2.0
Wed 19 Aug 2020
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Enterprise Edition (EE) version 2.3.5-p1
Highlights
- Added live support for transactions in Canadian Dollars (CAD).
- Improved Checkout button on cart page as part of re-brand.
- Improved Payment method display on checkout page as part of re-brand.
- Added a workaround to resolve the "Email has a wrong format" error, which prevented creation of the Magento order, and sometimes resulted in an automated refund of the Afterpay payment.
- Improved compatibility with third party "custom order number" modules while saving admin configuration.
- Added plugin assets in Content Security Policy (CSP) whitelist.
Version 3.1.4
Fri 26 Jun 2020
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Community Edition (CE) version 2.3.5-p1
- Magento Enterprise Edition (EE) version 2.3.5-p1
Highlights
- Improved reliability of logo display on cart page for high resolution mobile screens.
- Improved billing and shipping address validation at checkout.
- Improved Restricted Categories feature to better support multiple store views.
- Further improved compatibility with offline refunds.
- Added preliminary Sandbox support for transactions in CAD.
- Added a fix to prevent duplicate order emails.
Version 3.1.3
Wed 20 May 2020
Supported Editions & Versions
Tested and verified in clean installations of Magento 2:
- Magento Community Edition (CE) version 2.3.5-p1
- Magento Enterprise Edition (EE) version 2.3.5-p1
Highlights
- Added instalment calculations within cart page assets.
- Added an automatic void/refund of an Afterpay Order where Magento throws an unrecoverable exception during submitQuote.
- Refined language presented to US consumers.
- Improved cart page logic relating to Afterpay availability, where the total exactly matches the merchant minimum.
- Improved handling of unexpected/corrupted network data.
- Improved compatibility with offline refunds.
- Adjusted the implementation of the Afterpay checkout JavaScript.
Version 3.1.2
Fri 24 Jan 2020 (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 handling of Store Credit and Gift Cards in Magento Enterprise.
- Improved handling of unusual AJAX behaviour at the checkout.
- Replaced legacy internal assets with latest artwork hosted on the Afterpay CDN.
- Added a cron job for Deferred Payment Flow to create Credit Memos in Magento if a payment Auth is allowed to expire.
- Added a new field on the Magento Invoice to show when a payment Auth will expire.
Version 3.1.1
Tue 24 Dec 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
- Added support for installation and updates via Composer.
- Improved support for running the Magento code compiler in Community Edition.
Version 3.1.0
Wed 18 Dec 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
- API upgrade from v1 to v2, including the introduction of "Deferred Payment Flow".
- Improvements to quote validation prior to payment capture.
- Improvements to the "Exclude Category" feature.
Version 3.0.6
Wed 25 Sep 2019 (AEST)
Supported Editions & Versions
- Magento Community Edition (CE) version 2.0.2 and later
- Magento Enterprise Edition (EE) version 2.0.2 and later
Highlights
- Added a new feature to allow Afterpay to be disabled for a specified set of product categories.
- Added a new feature to allow Cross Border Trade (CBT) editions of modal assets to be presented on PDP and cart pages (for AU & NZ only).
- Improved default labelling of Afterpay at the checkout.
- Improved compatibility between Afterpay and Clearpay modules in multi-regional Magento installations.
- Improved support for Credit Memos used in conjunction with Afterpay orders in Magento Enterprise installations.
- Improved support for Product Detail Pages (PDP) where the main price element is missing the "data-price-type" attribute.
- Upgraded regional assets for modal popups.
- Removed potentially sensitive information from log files.
Version 3.0.5
04 Sep 2019 (AEST)
Supported Editions & Versions
- Magento Community Edition (CE) version 2.0.2 and later
- Magento Enterprise Edition (EE) version 2.0.2 and later
Highlights
- Added a new feature to notify admin if an exception occurs while finalising the Magento order.
- Improved handling of SQL errors during the order finalisation process.
- Improved handling of variant selection, where the default variant was ineligible for purchase with Afterpay.
- Improved handling of virtual product orders.
- Improved handling of orders from logged-in customers where no billing address was selected.
- Improved formatting and cross-browser compatibility for PDP elements and extended support for uncommon product types.
- Improved checkout field validation.
- Improved checkout information and assets for US merchants.
- Improved logging during cron tasks.
- Extended debug logging.
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
- Magento Community Edition (CE) version 2.1.1 and later
- Magento Enterprise Edition (EE) version 2.1.1 and later
- Afterpay-Magento2 plugin v3.0.0 has been verified against a new instance of Magento CE v2.2.3
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
- Magento Community Edition (CE) version 2.1.1 and later
- Magento Enterprise Edition (EE) version 2.1.1 and later
- Afterpay-Magento2 plugin v2.0.2 has been verified against a new instance of Magento CE v2.2.0
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
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 4.3.6 | stable | Not tested | Not yet tested Details | 2026-06-11 09:43:07 |
| 5.4.5 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-06-10 10:23:08 |
| 5.4.4 | stable | Not tested | Not yet tested Details | 2025-08-11 06:24:47 |
| 4.3.5 | stable | Not tested | Not yet tested Details | 2025-08-11 06:16:40 |
| 5.4.3 | stable | Not tested | Not yet tested Details | 2025-03-14 01:51:05 |
| 4.3.4 | stable | Not tested | Not yet tested Details | 2025-03-14 01:49:04 |
| 5.4.2 | stable | Not tested | Not yet tested Details | 2024-11-08 00:09:59 |
| 4.3.3 | stable | Not tested | Not yet tested Details | 2024-11-08 00:06:24 |
| 5.4.1 | stable | Not tested | Not yet tested Details | 2024-08-27 04:38:24 |
| 5.3.2 | stable | Not tested | Not yet tested Details | 2024-08-07 09:11:40 |
| 4.3.2 | stable | Not tested | Not yet tested Details | 2024-08-07 09:10:04 |
| 5.3.1 | stable | Not tested | Not yet tested Details | 2024-03-12 09:18:58 |
| 4.3.1 | stable | Not tested | Not yet tested Details | 2024-03-12 09:17:32 |
| 5.3.0 | stable | Not tested | Not yet tested Details | 2024-02-01 01:49:16 |
| 4.3.0 | stable | Not tested | Not yet tested Details | 2024-02-01 01:47:43 |
| 4.2.2 | stable | Not tested | Not yet tested Details | 2023-11-03 04:31:30 |
| 5.2.2 | stable | Not tested | Not yet tested Details | 2023-11-03 04:29:32 |
| 4.2.1 | stable | Not tested | Not yet tested Details | 2023-10-18 06:23:20 |
| 5.2.1 | stable | Not tested | Not yet tested Details | 2023-10-18 06:21:24 |
| 4.2.0 | stable | Not tested | Not yet tested Details | 2023-09-04 04:51:58 |
| 5.2.0 | stable | Not tested | Not yet tested Details | 2023-09-04 04:50:40 |
| 5.1.4 | stable | Not tested | Not yet tested Details | 2023-08-10 03:08:32 |
| 4.1.2 | stable | Not tested | Not yet tested Details | 2023-08-10 03:02:14 |
| 5.1.2 | stable | Not tested | Not yet tested Details | 2023-07-13 08:37:36 |
| 5.1.1 | stable | Not tested | Not yet tested Details | 2023-07-06 06:22:29 |
| 4.1.0 | stable | Not tested | Not yet tested Details | 2023-06-26 07:24:21 |
| 5.1.0 | stable | Not tested | Not yet tested Details | 2023-06-26 07:18:35 |
| 5.0.5 | stable | Not tested | Not yet tested Details | 2023-03-24 01:37:28 |
| 4.0.5 | stable | Not tested | Not yet tested Details | 2023-03-24 01:36:06 |
| 3.4.5 | stable | Not tested | Not yet tested Details | 2023-02-07 02:30:05 |
| 4.0.5-beta.1 | beta | Not tested | Not yet tested Details | 2022-11-10 05:19:40 |
| 5.0.4-beta.1 | beta | Not tested | Not yet tested Details | 2022-11-10 04:53:51 |
| 4.0.4 | stable | Not tested | Not yet tested Details | 2022-08-16 02:32:58 |
| 5.0.3 | stable | Not tested | Not yet tested Details | 2022-08-16 02:07:48 |
| 5.0.1 | stable | Not tested | Not yet tested Details | 2022-05-19 01:35:08 |
| 4.0.2 | stable | Not tested | Not yet tested Details | 2022-05-18 03:31:35 |
| 4.0.1 | stable | Not tested | Not yet tested Details | 2022-01-14 02:36:30 |
| 4.0.0 | stable | Not tested | Not yet tested Details | 2022-01-12 00:27:15 |
| 5.0.0 | stable | Not tested | Not yet tested Details | 2022-01-12 00:17:02 |
| 3.4.4 | stable | Not tested | Not yet tested Details | 2022-01-12 00:01:04 |
| 3.4.3 | stable | Not tested | Not yet tested Details | 2021-09-08 02:08:44 |
| 3.4.2 | stable | Not tested | Not yet tested Details | 2021-06-16 06:35:11 |
| 3.4.1 | stable | Not tested | Not yet tested Details | 2021-05-05 04:16:06 |
| 3.4.0 | stable | Not tested | Not yet tested Details | 2021-03-24 05:34:09 |
| 3.3.0 | stable | Not tested | Not yet tested Details | 2021-01-13 02:26:55 |
| 3.2.0 | stable | Not tested | Not yet tested Details | 2020-08-19 07:36:45 |
| 3.1.4 | stable | Not tested | Not yet tested Details | 2020-06-26 10:55:33 |
| 3.1.3 | stable | Not tested | Not yet tested Details | 2020-05-20 13:59:40 |
| 3.1.2 | stable | Not tested | Not yet tested Details | 2020-01-23 21:30:10 |
| 3.1.1 | stable | Not tested | Not yet tested Details | 2019-12-24 04:23:56 |
| 3.1.0 | stable | Not tested | Not yet tested Details | 2019-12-24 04:23:34 |
Requires 8
| Package | Constraint |
|---|---|
| afterpay-global/module-cash-app-pay | ^5 |
| magento/framework | ^103.0 |
| magento/module-checkout | 100.4.* |
| magento/module-payment | 100.4.* |
| magento/module-quote-graph-ql | 100.4.* |
| magento/module-sales | 103.0.* |
| magento/module-weee | 100.4.* |
| php | >=7.4.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 405 | 405 warnings (ruleset: Magento2) — 28 auto-fixable with phpcbf |
| PHPMD | Warning | 80 | 80 rule violations (MissingImport:42, IfStatementAssignment:14, UnusedFormalParameter:14, CyclomaticComplexity:3, NPathComplexity:2) |
| Cpd | Warning | 2 | 2 duplicated chunks spanning 102 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.