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?
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.
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?
Sounds different. What happens when you use one of these numbers?
Thank you for the link. Unfortunately, none of these works. Same issue, and it asks for 3 digit verification code as well. So weird.
Here's my backend settings (API and Transaction Key copied from Authorize.net account)
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.
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:
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!
Is your site publically accessible? Can you share a URL to have a look?
Yes, it's www.legowatches.com
I have enabled the payment method, so you can have a look.
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?