How to process giftcard SaleLine

tuanqle2lstuanqle2ls Member Posts: 4
edited December 2020 in Development

We, our integration team, have been processed the gift card SaleLine as follow:

SaleLine with no Item and calcSubtotal = 0

Below is the example:

<SaleLine>

     <unitQuantity>1</unitQuantity>

     <unitPrice currency="USD">4</unitPrice>

     <calcLineDiscount currency="USD">0</calcLineDiscount>

     <calcSubtotal currency="USD”>0</calcSubtotal>

 </SaleLine>


Recently, we received 2 giftcard transactions with calcSubtotal != 0

Example:

 <SaleLine>

    <unitQuantity>1</unitQuantity>

    <unitPrice currency="USD">4</unitPrice>

    <calcLineDiscount currency="USD">0</calcLineDiscount>

     <calcSubtotal currency="USD">4</calcSubtotal>

   </SaleLine>


Is gift card SaleLine has been changed?

Please advice what is the expected behavior to process the GiftCard transaction SaleLine.

Thanks for the support

4 comments

Sign In or Register to comment.