Gift Card not added on Shopify to NetSuite Request

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.

0

Comments

2 comments
Date Votes
  • Carolina oxoby I've moved your post to the Shopify - NetSuite Integration App forum for better visibility.

     

    0
  • That setting option you have populated with "Shopify Gift Card" is what's used to track the redemption of a gift certificate on an order, not the original sale of the gift certificate.

    Don't have any experience using native Shopify Gift Certificates (we use Rise.ai), but you need to create the Gift Certificate Item in NetSuite that matches the item in Shopify (SKU, Variant ID, Product ID). Or alter your settings to give a generic NetSuite SKU for Celigo to post to when the item in Shopify isn't found in NetSuite ("Shopify Unknown Item" for example).

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post