I've
run into a weird exception on checkout now that I do not understand. At
this point, when the starter site is calling
CheckoutData.BasketHelper.RunBasketPipeline(), the following exception
is thrown: "System.Reflection.TargetException: Object does not match target type."
I have breakpoints both on that line as well as in the
RunBasketPipeline method, and it is getting the basket helper but
unable to call the method.
Any help you can provide is greatly appreciated.
Peter

BasketHelper: Object does not match target type.
qmatteoq
Heh Peter, don't worry about it. Thanks for sharing the solution though! It is good feedback for the product group to understand the challenges faced by developers. An oversight like this may be avoided with different approaches. I hope in future releases that we will see something closer to a proper entity mapping system.
Cheers,
Colin
Deuce BOI
Any thoughts as to other approaches
Dan Finch
So, for future reference, if you don't change /all/ of the references to use your new CreditCardPayments class, it will use the old one sometimes, and when you use the old one sometimes and not others, you will end up with some code expecting the object to be of one type rather than the actual one you're working with.