Card auth details to second cash sale
So trying to keep this simple – we’re importing orders from an ecom system and we want netsuite to handle the payment capture. To do this, netsuite needs the PN ref num and the auth code only – we’ve tested this and it all works fine.
The problem comes from trying to issue virtual gift cards. I want these to be fulfilled and transformed into a cash sale as soon as they’re imported so the ecom platform can issue the gift certificate code. Fulfilments for physical items are created by our WMS and we have a workflow that runs to transform any “Pending Billing” sales orders into cash sales.
I’ve had a script built which creates a cash sale for the gift card lines only, which works fine – the cash sale is created and the payment for the gift card line is captured. However, once this has happened the cash sale for the remaining lines cant be saved, the workflow throws the error