This topic is generated and maintained through automation, so we do not accept direct contributions from pull requests on GitHub.
PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

Authorizenet

The Magento_Authorizenet module implements the integration with the Authorize.Net payment gateway and makes the latter available as a payment method in Magento.

Extensibility

Extension developers can interact with the Magento_Authorizenet module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_Authorizenet module.

Events

This module dispatches the following events:

  • checkout_directpost_placeOrder event in the \Magento\Authorizenet\Controller\Directpost\Payment\Place::placeCheckoutOrder() method. Parameters:
    • result is a data object (\Magento\Framework\DataObject class).
    • action is a controller object (\Magento\Authorizenet\Controller\Directpost\Payment\Place).
  • order_cancel_after event in the \Magento\Authorizenet\Model\Directpost::declineOrder() method. Parameters:
    • order is an order object (\Magento\Sales\Model\Order class).

This module observes the following events:

  • checkout_submit_all_after event in the Magento\Authorizenet\Observer\SaveOrderAfterSubmitObserver file.
  • checkout_directpost_placeOrder event in the Magento\Authorizenet\Observer\AddFieldsToResponseObserver file.

For information about events in Magento 2, see Events and observers.

Layouts

This module introduces the following layouts and layout handles in the view/adminhtml/layout directory:

  • adminhtml_authorizenet_directpost_payment_redirect

This module introduces the following layouts and layout handles in the view/frontend/layout directory:

  • authorizenet_directpost_payment_backendresponse
  • authorizenet_directpost_payment_redirect
  • authorizenet_directpost_payment_response

For more information about layouts in Magento 2, see the Layout documentation.