Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Using TokenStoreReplace in scheduler giving initiation errors on OrderInfo initialization

$
0
0
I like to use the TokenStoreReplacer function in a custom scheduler function sending customized e-mails.

When initializing the TokenStoreReplacer it is giving errors.
What i Found out is that it has something to do with the XSLTemplates.

It won't initialize in the scheduler logic. Is some additional logic required ?

Part of the code:
        OrderController octrlOrder = new OrderController();
        NB_Store_OrdersInfo oOrder = octrlOrder.GetOrder(1212);
        String sMerchantLanguage = SharedFunctions.GetMerchantCulture(oOrder.PortalID);
        TokenStoreReplace oRep = new TokenStoreReplace(oOrder, sMerchantLanguage);

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>