Originally reported by: Jon Veder (Bitbucket: jonvee, GitHub: jonvee)
Payment goes to stripe, but friendly orchrard error "Oops. Something went wrong ... sorry"
2015-05-29 00:53:51,321 [8] Orchard.Exceptions.DefaultExceptionPolicy - Default - An unexpected exception was caught
https://mysite.loc/stripe/pay
System.NullReferenceException: Object reference not set to an instance of an object.
at Nwazet.Commerce.Services.StripeService.Charge(String token, Double amount)
at Nwazet.Commerce.Controllers.StripeController.Pay(StripeCheckoutViewModel stripeData, String stripeToken, String next, String back)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b3f()
Originally reported by: Jon Veder (Bitbucket: jonvee, GitHub: jonvee)
Payment goes to stripe, but friendly orchrard error "Oops. Something went wrong ... sorry" 2015-05-29 00:53:51,321 [8] Orchard.Exceptions.DefaultExceptionPolicy - Default - An unexpected exception was caught https://mysite.loc/stripe/pay System.NullReferenceException: Object reference not set to an instance of an object. at Nwazet.Commerce.Services.StripeService.Charge(String token, Double amount) at Nwazet.Commerce.Controllers.StripeController.Pay(StripeCheckoutViewModel stripeData, String stripeToken, String next, String back) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionaryb39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultb 3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b 3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b 3f()
2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase
1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.