Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

The card type is not an accepted form of payment. Use a different payment card, and then try again

Posted on by 5

This is on a test environment.
Using D365 Retail.
Modern Point of sales (MPOS)
The terminal device is a Verifone P400Plus from Adyen.


I'm getting this error on the MPOS when paying with the credit card:

"The card type is not an accepted form of payment. Use a different payment card, and then try again"

15838.Error.jpg

The card I'm using is a test card with the following details:

Mastercard/Maestro
EXP: 31/12/2025
Version: 012
Cardnumber: 541333 **** 9999
Type: CREDIT


In D365\Retail\Channel setup\POS setup\Hardware profiles, I've added Master and Maestro card to the hardware profile:

HardwareProfile.jpg

In D365\Retail\Channel setup\Payment methods\Card numbers, I've added the card number on both MasterCard and Maestro 

CardNumbers.jpg

In D365\Retail\Channel setup\Payment methods\Card types, the cards are also present 

CardTypes.jpg

Job 1070 and 1090 has been applied.

I might be missing something that I don't know about, but I've no clue what to look for. Any suggestions?

EDIT

I did a full push, but same error still occurs.

*This post is locked for comments

  • Suggested answer
    PhuMinhPham Profile Picture
    PhuMinhPham 5 on at
    RE: The card type is not an accepted form of payment. Use a different payment card, and then try again

    So I found what was causing the MPOS to trigger the error. It was due to the card type. The mastercard was configured to have the "Card types" value set to "International debit card".

    If.png

    In the js file "Commerce.Core.js" line 49377, the code calls the method "Commerce.PaymentHelper.isCreditCard(...) where it checks for the credit card.

    When my mastercard was configured to "International debit card" the if statement inside of the method wasn't true so my card would always be rejected. Changing the Card types value for mastercard to "International credit card" or "Corporate card" solved my problem.

    If.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans