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

New Post: Custom Shipping Provider (i.e.: shipping calculator for UPS)

$
0
0
I'm attempting to apply a custom shipping provider to a NB_Store v. 2.3.8 rel4 install. I've read numerous posts in this forum that suggests in order to build a custom shipping provider you need to build an assembly with the necessary code as in the 'ShippingCalcProviderExample' package, add a setting named 'calcship.provider' to the Back Office/Utilities/Payment/Shipping with the a value such as:

NEvoweb.DNN.Modules.NB_Store.ShipExample, NEvoWeb.Modules.NB_Store.upsCalcProvider

('NEvoweb.DNN.Modules.NB_Store.ShipExample' is the correct name for the custom shipping provider assembly which I placed in the root/bin folder of the DNN installation, and 'upsCalcProvider' is the name of the class specified in the assembly's project)

I've tried this process with the customized provider I created and with the assembly provided in the downloaded example package but both result in an error such as:

The type initializer for 'NEvoWeb.Modules.NB_Store.CalcShipInterface' threw an exception. ---> System.TypeLoadException: Could not load type 'NEvoWeb.Modules.NB_Store.upsCalcProvider' from assembly 'NEvoweb.DNN.Modules.NB_Store.ShipExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

I've also tried specifying the assembly name and class name in the opposite order in the text field (as described in some posts) for the 'calcship.provider' setting, however this results in an error stating the the assembly 'upsCalcProvider' could not be loaded, so I am certain that is not correct. Please, if anyone can accurately describe how I can initialize a custom shipping provider in NB_Store I would greatly appreciate it.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



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