Error: Failed to create Customer Deposit for Shopify Order XXXXXX due to the Invalid reference key of Order XXXXXX for Customer XXXXXX.
Reason: If you map the payment method on the sales order, NetSuite restricts to a create customer deposit.
Solution:
- Remove the payment method mappings on the Shopify order to NetSuite order (cash sale or sales order) flow.
- Create the mappings on the Shopify transaction to NetSuite customer deposit (add)flow.
- Remove the existing payment record on the NetSuite sales order.
- Retry the error on the integration app Dashboard.