I am trying to import orders from an outside systems using .net into EPICOR. I have everything going in successfully other than authorizing the card. We use esdm to get the token to put into the dataset, but no matter what I do, I get back Invalid Account Number like its a bad card from the authorization.
I had some abl code that did this same process, but had issues with how it imported the order, but the authorization worked just fine. The only difference that I see is that the abl code never re-loaded the order before setting the cardstore and calling CCProcessCard. I have to re-load the order because some order detail lines are kits and the call to GetKitComponents changes the underlying dataset.
Anyone have any ideas on how to get CCProcessCard working?