====== Toweringmedia Authorize.Net Payment Extension for Magento 2 ======
===== Extension context =====
This is a Toweringmedia Magento 2 extension guide in the Checkout & Payments category. Use this page for configuration, validation, and related module navigation.
===== Quick links =====
* [[magento2:start|Magento 2 docs home]]
* [[magento2:extensions:start|Magento 2 extension index]]
* [[magento2:extensions:toweringmedia-module-react-checkout-pro|Magento 2 React Checkout Pro Extension]]
===== Overview =====
The Toweringmedia Authorize.Net extension adds secure Authorize.Net card processing to Magento 2, with strong compatibility for React Checkout Pro storefronts.
Key goals:
* Accept card payments through Authorize.Net in Magento 2 checkout.
* Support production-ready gateway setup for both testing and live traffic.
* Keep checkout behavior consistent with Toweringmedia React Checkout Pro and related payment/checkout modules.
===== What this extension does =====
* Connects Magento to Authorize.Net gateway credentials.
* Supports tokenized card payment flows through Magento checkout.
* Supports Accept.js, Accept Hosted, and saved card (CIM) flows.
* Supports refund/void operations and webhook signature validation.
* Enables controlled testing in sandbox before production cutover.
* Works as a core payment module in broader Toweringmedia checkout stacks.
===== Installation =====
Install via Composer (example):
cd /path/to/magento
composer require toweringmedia/module-authorizenet:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
After install, confirm module status:
php bin/magento module:status Toweringmedia_Authorizenet
===== Configuration =====
Go to:
''Stores > Configuration > Sales > Payment Methods > Authorize.Net (Toweringmedia)''
Configure in this order:
- Enable the payment method.
- Set appropriate title and payment action.
- Enter API Login ID and Transaction Key (or equivalent credentials used by your account setup).
- Enable sandbox/test mode for validation first.
- Save config and flush cache.
===== Recommended production settings =====
* Keep sandbox enabled until end-to-end checkout tests pass.
* Use a clear payment method title so support/admin teams can identify transactions easily.
* Restrict to applicable countries/payment contexts as needed.
* Keep logging at safe levels in production (avoid exposing sensitive request details).
* Keep API keys, signature keys, and wallet cert material outside webroot and outside Git.
===== Checkout compatibility notes =====
This module is commonly used with:
* [[magento2:extensions:toweringmedia-module-react-checkout-pro|Magento 2 React Checkout Pro Extension]]
* [[magento2:extensions:toweringmedia-module-react-checkout-pro-express|Magento 2 React Checkout Pro Express Extension]]
If payment options are grouped in React Checkout Pro, ensure the Authorize.Net payment code is in the expected primary/visible group.
===== Validation checklist =====
* Module is enabled in Magento and appears in module status.
* Admin payment configuration is accessible at correct scope.
* Sandbox transaction can be authorized successfully.
* Production transaction works after credential switch.
* Order placement, invoice capture/refund flow, and order history records are correct.
* No critical payment errors in logs during checkout attempts.
===== Troubleshooting =====
* **Method not visible at checkout**: Check method enabled state, store scope, country restrictions, and checkout payment grouping.
* **Gateway credential error**: Re-validate API Login ID/Transaction Key and sandbox/live mode alignment.
* **Order submit fails**: Confirm payment action compatibility, merchant account state, and any CSP/browser console errors.
* **React checkout mismatch**: Re-check React Checkout Pro payment layout/group config and cache state.
===== SEO and conversion links =====
* [[https://toweringmedia.com/magento-2-react-checkout-pro-bundle|Magento 2 React Checkout Pro Bundle]]
* [[https://toweringmedia.com/magento-2-extensions|Magento 2 Extensions Catalog]]
* [[https://toweringmedia.com/magento-2-development-services|Magento 2 Development Services]]
===== Related Magento 2 docs =====
* [[magento2:extensions:start|Magento 2 extension index]]
* [[magento2:extensions:toweringmedia-module-react-checkout-pro|Magento 2 React Checkout Pro Extension]]
* [[magento2:extensions:toweringmedia-module-react-checkout-pro-express|Magento 2 React Checkout Pro Express Extension]]
* [[magento2:extensions:toweringmedia-module-moneris|Magento 2 Moneris Payment Extension]]
* [[magento2:start|Magento 2 docs home]]