New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorize.net is not working in Magento2.1.7 version but working fine in magento1.9 for the same credentials #10293
Comments
Hi, @Jeevachezhiyan, please provide the response from Authorize.net |
@joni-jones please find the request and response below directpost_payment controller response this one returning from authorize.net: |
@Jeevachezhiyan, if you are using sandbox account, you must disable Test Mode - |
@joni-jones I already tried it throw like below, But in previous response you can see the invoice number returning from the site and i enabled the sandbox mode in authorize.net side.In magento 1.9 i just enabled test mode and i did't change the url but it's working fine.Can you give any other solution. |
The invoice number is provided by Magento because the order at first created on Magento side. Try to create another sandbox account. Sandbox accounts do not work with enabled |
@joni-jones now everything working fine thanks for your help... |
Preconditions
Magento 2.1.7
Ubuntu 14.04.1
PHP 7.0.15
Apache 2.4.18
MySql 5.7.18
Steps to reproduce
I have configured test credentials in magento2 back end and i made one order using test card but it throws error like Unable to make Order ,But in 1.9 same credentials working fine with out any errors,so i checked in console i got response like below,
<html><head><script> window.location="http://xxxxx/xxx/authorizenet/directpost_payment/redirect/x_invoice_num/000000069/success/0/error_msg/Please enter a transaction ID to authorize this payment./controller_action_name/directpost_payment/";</script></head><body></body></html>
Expected result
It goes to success page but it throws error like below ,
Actual result
It throws unable to make an order
<html><head><script> window.location="http://182.74.57.131/xxxx/xxxx/authorizenet/directpost_payment/redirect/x_invoice_num/000000069/success/0/error_msg/Please enter a transaction ID to authorize this payment./controller_action_name/directpost_payment/";</script></head><body></body></html>
The text was updated successfully, but these errors were encountered: