I am testing in Shopify Sandbox the NetSuite - Shopify Order Sync with Gift Card but is showing an error "Unable to create the order in NetSuite for the Shopify order #4656836739135 Failed to save record because Please choose an item to add"
Reviewing the NetSuite request the Gift Card Item is not added, see below:
r.selectNewLineItem("item");
r.setCurrentLineItemValue("item", "custcol_replay_bin_number", null);
r.setCurrentLineItemValue("item", "custcol_replay_item", null);
r.setCurrentLineItemValue("item", "quantity", 1);
r.setCurrentLineItemValue("item", "price", -1);
r.setCurrentLineItemValue("item", "rate", 0);
r.setCurrentLineItemValue("item", "custcol_celigo_etail_itemtype_id", "Celigo_GiftCardItem");
r.setCurrentLineItemText("item", "taxcode", "Shopify Avatax");
r.setCurrentLineItemValue("item", "taxrate1", "0.0%");
r.setCurrentLineItemValue("item", "description", null);
r.setCurrentLineItemValue("item", "custcol_replay_item_sku", null);
r.commitLineItem("item");
The Gift Card is set under Setting-> Order -> Order
Any idea on what is missing?
Thanks.