LokiCheckout_AuthorizeNet
This Magento 2 module is an add-on package to the LokiCheckout.
Installation
Install this package via composer:
composer require loki-checkout/magento2-authorize-net
Next, enable this module:
bin/magento module:enable LokiCheckout_AuthorizeNet
Supported payment methods
This module makes the ParadoxLabs Authorize.Net CIM payment methods (paradoxlabs/authnetcim) work in the Loki Checkout:
| Method | Code | Supported form types (payment/<code>/form_type) |
|---|---|---|
| Credit Card | authnetcim | hosted (Accept Hosted iframe), acceptjs (Accept.js tokenization, requires a Public Client Key) |
| Bank Account (eCheck) | authnetcim_ach | hosted |
- The deprecated inline form types (raw card or bank account data posted to the shop) are not supported: when they are configured, the method is hidden in the Loki Checkout. Admin orders are not affected.
- Stored cards (CIM payment profiles) can be selected by logged-in customers, including the card verification number when Require CVV for Stored Cards is enabled, and new cards can be saved.
- Accept Hosted places the order automatically once the payment form inside the iframe has been submitted. With Payment Action set to Save info (do not authorize) the Accept Customer form is shown instead, after which the saved card is selected and the order is placed with the regular button.
- The card number never reaches the shop. Payment data is kept in the checkout session (the verification code encrypted) for at most 15 minutes, and is handed to the ParadoxLabs module right before the order is placed.
See PSP.md for implementation notes.
Current status
@dev
to the composer command.
Support
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/LokiCheckout_AuthorizeNet.git
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Loki_MapComponents
Magento_AdminNotification
Magento_Backend
Magento_Catalog
Magento_Checkout
Magento_CheckoutAgreements
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_GraphQl
Magento_InstantPurchase
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Sales
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Vault
ParadoxLabs_Authnetcim
ParadoxLabs_TokenBase
Yireo_CspUtilities
Composer details
LokiCheckout_AuthorizeNetloki-checkout/magento2-authorize-net
magento/framework: ^103.0
paradoxlabs/authnetcim: ^5.0
loki-checkout/magento2-core: ^2.0
ext-pcre: *
php: >=8.2 <8.6
Releases
Changelog
Added
- Accept Hosted (iframe) support for
authnetcimandauthnetcim_ach, including the Accept Customer form for payment actionorder - Accept.js support for
authnetcim - Stored card selection, card verification for stored cards and the save card option
- Payment icons for both methods
- Hide the unsupported inline form types in the Loki Checkout
- Unit, integration and Playwright tests
Removed
- Unused redirect resolver and the scaffolded
ViewModel\PaymentForm