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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Issue Gift card error in CPOS

(0) ShareShare
ReportReport
Posted on by 15

Hi all

I'm trying to issue a gitf card in Cloud Pos

pastedimage1639064856692v1.pngpastedimage1639064880383v2.png

But I'm getting an error: "Application error. Please try again or contact your administrator to fix the problem."

LCS Environment monitoring shows me the error message: "The executeAsync method for the IssueGiftCardClientRequestHandler received a null GiftCardItem."

This process is standard, I don't have custom code for issue a gift card and all HQ configurations are set. 

How can I fix this?

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi Ricardo,

    Please follow the steps in the MS document about how to set up the gift cards:

    docs.microsoft.com/.../gift-card

  • Ricardo Serrano Profile Picture
    15 on at

    The gift cards that are issued from Retail Cloud Pos are considered externals?

    I read the docs and sadly I did not found solution for my problem.

    I would like to add that in dev sand box, issuing a gift cards works fine, the problem is in UAT env.

  • Suggested answer
    SHOXF Profile Picture
    490 on at

    Can you please check that gift card item is added on commerce parameter. Also verify that gift card item is in store assortment.

  • Ricardo Serrano Profile Picture
    15 on at

    Hi Muhammad.

    Indeed, the settings that you suggest me to review, are set.

    Commerce Parameters:

    2022_2D00_01_2D00_03_5F00_9_2D00_41_2D00_25.png

    Store Assortment:

    2022_2D00_01_2D00_03_5F00_9_2D00_47_2D00_00.png

    And finally, the gift card product details, just in case there is any check box that I'm missing.

    2022_2D00_01_2D00_03_5F00_9_2D00_48_2D00_35.png

    Thank you for your suggestions!

  • Suggested answer
    SHOXF Profile Picture
    490 on at

    Your item is not configured properly, you have missed storage dimension, tracking dimension, item model group and item group. also please attached the hierarchy on product that is the part of your assortment

  • Ricardo Serrano Profile Picture
    15 on at

    Sorry, I'm not quite sure why within Assortments form, the product details for Giftcard is empty.

    From Product Information Management > Released Product > GiftCard I have the configurations you mentioned

    2022_2D00_01_2D00_03_5F00_11_2D00_42_2D00_34.png

  • ARIADNA SALA Profile Picture
    25 on at

    Hi,

    I have the same issue... Did you what was causing the problem??? Did you find a solution?

    Thank you.

  • Ricardo Serrano Profile Picture
    15 on at

    No Ariadna, I couldn't find a solution yet.

    If you find the solution, share it with me please.

  • Suggested answer
    pratik varia Profile Picture
    50 on at

    Hi Ricardo,

    Make sure you have the right settings as below:

    > On Button Grid layout - The 'Payment Type' on both the Button i.e. "Issue Gift Card" & "Pay Gift Card" Button is mapped as "Gift Card" which is a Gift Card Payment Method tagged on the Store's Payment Method setup & that payment method has operation name as "Pay Gift Card" &  Function as "Card"

    Hope this resolved your issue

  • Suggested answer
    Scott Tucker [MSFT] Profile Picture
    101 on at

    Hi Ricardo,

    Sorry to see you have been struggling with issue gift card in CPOS for 2 months.  I have some thoughts and a link that will hopefully help resolve the issue for you.  

    Thoughts:  The error " IssueGiftCardClientRequestHandler received a null GiftCardItem" to me says that the gift card Item ID is not populated in the channel database.  However, I will assume you have tried configuring the gift card product a number of different ways so I don't think that is it this time.

    While preparing for the Internal Gift Card TechTalk I saw an issue that I consider a product defect. The issue gift card operation IS NOT the same type of operation as the product sale operation and in the past the gift card product did not need to be assorted to the store. In my option it is better to not assort the product because you do not want a cashier to try and 'sell' the gift card product. It seems that sometime recently a conflict between the gift card operations (and the gift card item) and the POS permission 'Sell non-assorted products' was introduced.

    So, this may sound odd but check your POS permissions and make sure 'sell non-assorted products' is TRUE for your POS user.  Regardless of the gift card item being in or out of the assortment and regardless of the POS user having the Manager privileges set to TRUE.  Remember to run the 1060 CDX job after you change any POS permissions.

    If that doesn't fix your issue, then the much longer process I can suggest is to go through the presentation that goes with the TechTalk that was given last November. Link:

    community.dynamics.com/.../d365-commerce-internal-gift-cards-november-16-2021

    In the TechTalk we used a master product with variants because that is needed to sell multiple denomination on ecommerce, but a simple product will work just as well for POS.

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans