Hello,
I want to issue gift card on Ax POS but i got this error
Hi Hossam,
I don't know why no one mentioned about AX Gift card policy sets here, it's the place where you define the numbering for the gift cards.You must be missing that.
You need to navigate to Retail>Setup>Gift Cards> Policy Sets. and see if policy is defined there. Basically you can set the numbers here in the Number from and Number to fields and then define the other properties like, minimum reload amount and max balance amount.
Once done with above you should be able to create gift cards from your POS machine using RTS.
I hope this will fix the issue. Good luck.
Regards,
Vinod Kumar
Hi Shaimaa,
I am really so happy by your quick reply Thank you.
This is the link to the new case.
Hi Hossam ,
Please raise a new question or i would prefer support request so we can help you on that.
Hi Shaimaa,
Thx for your support.
So it is Hardcoded , Surprise.
Ok now i have one more question.
my customer will start use the system for the 1st time and they already sold gift cards, how i can upload sold cards into Ax.
Thank you.
Hi Hossam,
this is mandatory setup you can do the range as you want and be sure that the card id is equal "GIFTCARD" as it's hardcoded .
You can find this validation at calss RetailTransactionServiceTransactions\validateCardNumberMatchesSetup
while select cardNumberFrom,cardNumberTo from retailTenderTypeCardNumbers
where retailTenderTypeCardNumbers.cardTypeId == 'GIFTCARD'
{
lengthToCompare = max(strLen(retailTenderTypeCardNumbers.cardNumberFrom), strLen(retailTenderTypeCardNumbers.cardNumberTo));
cardSubString = subStr(_cardNumber, 0, lengthToCompare);
if (strCmp(retailTenderTypeCardNumbers.cardNumberFrom, cardSubString) <= 0
&& strCmp(retailTenderTypeCardNumbers.cardNumberTo, cardSubString) >= 0)
{
isCardNumberMatchsSetup = true;
}
}
Hi Shaimaa,
Hossam not Hassan .
Is There any place where I can check the card number setup in Ax.
The 9 u asked me to put just to restrict using cards starting by 9, but if I want to use any numbers so I can keep this setup blank.
Hi Hossam,
Then please open support ticket with MS support so we can investigate further .
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().
Hi Hossam,
you can perform card number setup as below :
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,101 Super User 2024 Season 2
Martin Dráb 229,896 Most Valuable Professional
nmaenpaa 101,156