Authorize.Net is a payment service that allows your customers to pay without leaving the website. Let’s see how to set up Authorize.net in your Magento 2 store step-by-step.
Step 1. Go to Stores > Settings > Configuration.
Step 2. Click on Payment Methods in the Sales tab.
Step 3. Open Authorize.Net block and select Yes in the Enabled dropdown.
Step 4. Let’s configure Basic Authorize.Net Settings. Create a Title for your payment method.
Step 5. In the Environment dropdown, choose Production for a live version of your store or Sandbox, if you need to make some tests.
Step 6. Next, move to the Payment Action line. There you can choose between 2 options: Authorize Only and Authorize and Capture. The difference is that the first one authorizes customers and creates orders in your backend, and the second one also automatically creates invoices and captures the funds.
Step 7. Copy your API Login ID, Transaction Key, Public Client Key, and Signature Key from Authorize.Net account.
Step 8. Then go to Advanced Settings and choose Accepted Currency in the dropdown.
Step 9. In the Debug line, select Yes to save messages between Magento 2 store and Authorize.Net.
Step 10. Set Yes in the Email Customer line if you want to send an order confirmation to your clients.
Step 11. Choose Yes if you need to Enable Credit Card Verification Field.
Step 12. In the Credit Card Types field, select what cards you accept in your store.
Step 13. Choose one of the two options from the Payment from Applicable Countries dropdown: All Allowed Countries or Specific Countries. If you set the Specific Countries option, pick the needed countries from the list to define what customers can use Authorize.Net as a payment method.
Step 14. Specify Minimum Order Total, Maximum Order Total, and Sort Order number.
Step 15. When you are ready, don’t forget to save the settings.
For more information about Authorize.net settings in Magento 2, check the official documentation.
Another option for how you can add on-site payment service is the Stripe extension. It has build-in 3D Secure 2.0 and meets all PSD2 requirements. With this plugin, you can not only offer your customers real-time payments with auto-invoicing but also let them save credit card info for future purchases. Also, this plugin supports partial invoices and refunds.