web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Issue Gift Card

(0) ShareShare
ReportReport
Posted on by 2,611

Hello,

I want to issue gift card on Ax POS but i got this error

Gift-Card-Issue-Error.png

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Hossam,

    Please check your parameter settings especially the number sequences in the retail parameters form. In addition, please double check and compare your configuration with what is described on MS docs.

    docs.microsoft.com/.../set-up-gift-cards

    docs.microsoft.com/.../retail-parameters-form

    I believe that some small configuration has been overlooked.

    Best regards,

    Ludwig

  • Hossam Fathy Profile Picture
    2,611 on at

    Hi Ludwig,

    Thank you for reply.

    i already applied this.

    where can i setup the card number in Ax.

  • Hossam Fathy Profile Picture
    2,611 on at

    Hello,

    i got this error while issue the gift card ( the gift card number not matching the setup ) , how i can fix this issue.

  • Suggested answer
    Ramune Profile Picture
    on at

    Hi Hossam,

    When you Issue gift card, what the number do you enter? Just any or some special?

    If you try to enter some number which is between 9000-9999, do you get the same error?

    I see that something has been changed in D365 latest versions, but in AX 2012 it was a bit different design.

    I also see some design change has been done for latest versions for AX 2012 R3.

    Which version are using exactly (version number)?

  • Suggested answer
    Ramune Profile Picture
    on at

    Hi Hossam,

    If you try to enter a number which is between 9000-9999, do you get the same error?

  • Hossam Fathy Profile Picture
    2,611 on at

    Hi Ramune.

    Thx for reply.

    i tried from 1 digit to 13 digits and same error.

    i tried also the number you suggest and same issue.

    kernel version number is 6.3.6000.151

  • Suggested answer
    Ramune Profile Picture
    on at

    Hi Hossam,

    Please create a support case to us so we could investigate the case. We would need to collect some setup you have done to be able to resolve it.

  • Hossam Fathy Profile Picture
    2,611 on at

    Hi Ramune,

    is this required support case,

    you cant support me in this community.

    Where is the place in Ax to define the Gift Card Numbers?

    Can i add the gift card number to Ax without amount then sell them on the POS.

    Also if i have Gift Cards with Different Values how to add them on Ax.

    Thank you.

  • Suggested answer
    Shaimaa Abo Gabal Profile Picture
    on at

    Hi Hossam,

    you can perform card number setup as below : 

    1. On AX side, Retail > Setup > payment methods -> Select Card Numbers.
    2. Click on "New".
    3. Select "Gift Card" from drop down.
    4. Enter start from and to and digits to identify.
    5. Send data to channel db
    6. Now, Issue gift card from POS. 

    pastedimage1594202026561v2.png

    Card number validation is required for payment processing when a customer presents a card. You set up the length and range of card numbers that are acceptable for each card type.

    For example, some credit cards are identified by a unique starting number, such as the number 4. To identify and validate this card type in the system, you enter 4 in the Card number from and Card number to fields, and enter 1 in the Digits to identify field. Any time a card is used that begins with the number 4, the system identifies the card as this specific card type.

    You can also enter a range of values to identify a specific card type. For example, if you want to identify a specific card that always starts with a value of 4200 to 4300, you enter 4200 in the Card number from field and 4300 in the Card number to field, and enter 4 in the Digits to identify field.

    For more info ,please check this article https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/set-up-card-types-and-card-numbers

  • Hossam Fathy Profile Picture
    2,611 on at

    Hi Shaimaa,

    Thx for reply.

    I already did this.

    Now my card should start by number 9 and i can use any number of digits, right? i tested again and same error above.

    This is the error from the event viewer

    Microsoft.Dynamics.Retail.Pos.GiftCard.GiftCardForm, Text: Issue gift card: Microsoft.Dynamics.Retail.Pos.GiftCard.GiftCardException: The gift card number not matching the set up.

      at Microsoft.Dynamics.Retail.Pos.GiftCard.GiftCardController.IssueGiftCard()

      at Microsoft.Dynamics.Retail.Pos.GiftCard.GiftCardForm.Execute().

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans