cancel
Showing results for 
Search instead for 
Did you mean: 

Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering test card numbers

Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering test card numbers

Magento EE 2.2.3 shows "Please enter a valid credit card type number." on checkout after entering test card numbers specified in https://developer.authorize.net/hello_world/testing_guide/

 

I have configured authorize.net direct post method with all valid sandbox credentials, set the Test mode to "No" and added all card types in configuration for the website scope. I have cleared all the caches and entered the test card numbers, but magento core payment module triggers this error message for test cards. Please check and let me know how to fix this issue.

7 REPLIES 7

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

Hello @AbbasAliS

 

You are using test credit card and sandbox so you have to set "Test mode" to yes. Then it will valid test credit card.

Please enable or set "test mode" to yes then it will work.

Manish Mittal
https://www.manishmittal.com/

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

I have set Test Mode to "No" as mentioned in this magento's troublshooting article

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

Hello @AbbasAliS

 

then why this setting they added in system, can you please try once with set to YES

Manish Mittal
https://www.manishmittal.com/

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

Hi @AbbasAliS,

 

As right now you are using Testing Card number thus you need to enable "Testing Mode" as "Yes". It means that of test mode is yes then you can apply the testing card on website otherwise it will verify the real card numbers and will throw error. And right now, same is happening.

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

Already tested with Test Mode to "yes". I am facing the same issue. 

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

Hello @AbbasAliS

 

Do you have multiple stores if yes then please try to check configuration carefully or you can try with real card and details. if it will not work you can raise that issue to Magento support as you have enterprise account so they will share proper solutions?

 

 

Manish Mittal
https://www.manishmittal.com/

Re: Magento EE 2.2.3 shows "Please enter a valid credit card type number." on entering tes

No. We have a single store, and i have added all the configuration in website level and double checked it. Looks like some conflicts. Anyway, thanks for your suggestions