Hello everyone,
Please have a look below things:
Payment Method: AUthorized .net
Magento: 2.3.2
Payment Mode: Production (in the admin section)
Enter card details:
Card No.: 4111111111111111
Month: 02
Year:2022
CVV: 123
After filling the required filed on the checkout page and click place order button then getting an error "An error occurred on the server. Please try to place the order again".
This is showing a wrong error message, The message should be "This transaction has been declined".
Thanks!
Sujeet Gupta
Hello @suj_eet
For the sandbox environment, the Test Mode should be disabled (this test mode might be used only for production credentials). Also, do you use Authorize.net on the local environment? If yes, it will not work, Authorize.net requires a "online" environment
Check this once
Hello,
Thanks for the reply,
As you have shared a URL.
The URL is configured for Authorized .Net Direct Post Payment Method and I am talking about the Authorized .Net Payment method.
Please read the instruction very carefully then answer.
Thanks!
Hello,
vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php
vendor/magento/module-checkout/Model/PaymentInformationManagement.php
and make sure log is added
https://github.com/magento/magento2/blob/2.3-develop/app/code/Magento/Checkout/Model/PaymentInformat...
if log code there then check log file for error of place order.
If works then mark as solution