cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 and Authorize.net invalid details

Magento 2 and Authorize.net invalid details

 

 I run Magento 2.1.4 and I try to setup default payment Authorize.net Direct post. I put API login and transaction key, but for some reason my card details are not accepted (tried a couple of other cards as well)

Anyone knows why this happens?

 

authorizenet-invalid.jpg

9 REPLIES 9

Re: Magento 2 and Authorize.net invalid details

Are you trying to use one of the newer mastercards? They expanded the range of numbers that can be used and there was a patch that came out around version 2.1.7 that added support for these: http://devdocs.magento.com/guides/v2.1/release-notes/ReleaseNotes2.1.7CE.html. You will need to patch or upgrade if this is the problem. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Magento 2 and Authorize.net invalid details

Hello,

 

Thank you for replying. I have used a VISA Card as well, same issue. When I type in the card number and then go to Card Expiration Date, this error is displayed (that is before I click on 'Place Order'. 

It's very weird.

 

Do you think upgrading would solve the problem?

Re: Magento 2 and Authorize.net invalid details

Sounds different. What happens when you use one of these numbers?

 

https://www.paypalobjects.com/en_AU/vhelp/paypalmanager_help/credit_card_numbers.htm

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Magento 2 and Authorize.net invalid details

Hi,

 

Thank you for the link. Unfortunately, none of these works. Same issue, and it asks for 3 digit verification code as well. So weird.

 

http://ibb.co/bRLGhb

 

Here's my backend settings (API and Transaction Key copied from Authorize.net account)

Re: Magento 2 and Authorize.net invalid details

Yeah, I'm afraid I don't know at this point. The credit card number validation is core Magento and I don't see any reported issues around this area from anyone else on the github repository. Do you have any theme or extension customisations that might be affecting this?

 

As this is a JS validation error, I would recommending debugging with the developer tools profiler to intercept the validation JS and inspect why it's failing. 

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Magento 2 and Authorize.net invalid details

That's fine, I understand if you haven't encountered a problem before, it's difficult to solve by guessing. 

 

I have only found this posted: 

https://github.com/magento/magento2/issues/9691

 

but it's for any card.

Haven't done any extreme customizations other than css files (not JS).

I will ask the template's support, if by chance the issue is produced because of them.

 

Thank you very much for your time!

Re: Magento 2 and Authorize.net invalid details

Is your site publically accessible? Can you share a URL to have a look?

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

Re: Magento 2 and Authorize.net invalid details

Hi,

 

Yes, it's www.legowatches.com

 

I have enabled the payment method, so you can have a look.

 

Thank you.

Re: Magento 2 and Authorize.net invalid details

I'm just wondering about the credit card type configuration for Authorize.net that you shared. Would you be able to check the other store views and double check that the credit types haven't been disabled in a more specific store view?

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!