Hello everyone,
Please help me.Even i am having the same problem. I have set up shipping, tax and payment providers(paypal pro). Here are the exception details.I am struggling really hard to get out of it, can you help
me out.
System.NullReferenceException was caught
Message="Object reference not set to an instance of an
object."
Source="MettleSystems.dashCommerce.Store"
StackTrace:
at
MettleSystems.dashCommerce.Store.Services.PaymentService.PayPal.PayPalService.DoExpressCheckout(Order
order, Boolean authorizeOnly) in c:\inetpub\wwwroot\final\store\services\paymentservice\paypal\paypalservice.cs:line
459
at
MettleSystems.dashCommerce.Store.Services.PaymentService.PayPalProPaymentProvider.DoExpressCheckout(Order
order, Boolean authorizeOnly) in C:\Inetpub\wwwroot\Final\Store\Services\PaymentService\PayPalProPaymentProvider.cs:line
212
at
MettleSystems.dashCommerce.Store.Services.PaymentService.PaymentService.DoExpressCheckout(Order
order, Boolean authorizeOnly) in
C:\Inetpub\wwwroot\Final\Store\Services\PaymentService\PaymentService.cs:line
254
at
MettleSystems.dashCommerce.Store.OrderController.DoExpressCheckout(Order order,
Boolean authorizeOnly, String userName) in
C:\Inetpub\wwwroot\Final\Store\Controllers\OrderController.cs:line 560
InnerException:
While debugging i noticed i am getting this error in PAYPAL SERVICE.CS
at line
expressCheckoutPaymentRequestDetails.Token =
order.ExtendedProperties[PAYPAL_TOKEN].ToString();
when the extended properties are returned by this method in
ORDER.CS
public ExtendedProperties ExtendedProperties {
get {
if(_extendedProperties == null) {
if(!string.IsNullOrEmpty(this.AdditionalProperties)) {
_extendedProperties = new
ExtendedProperties().NewFromXml(this.AdditionalProperties) as
ExtendedProperties;
}
else {
_extendedProperties = new ExtendedProperties();
}
}
return _extendedProperties;
}
}
Any suggestions would be greatly appreciated. I am working on my local
mahine. Is Trustlevel a problem?
Thanks in advance
Judef