Hi
I get the error below when trying to make a test payment using Stripe Pro.
I have created an account on the Stripe web site, and I have configured the payment plugin on the admin page using the the two API keys I get from the Stripe account.
Any idea what I am missing here?
thanks
//Peter
Server Error in '/MyWebSite' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 1184: throw new Exception("Payment controller cannot be loaded");
Line 1185:
Line 1186: var warnings = paymentController.ValidatePaymentForm(form);
Line 1187: foreach (var warning in warnings)
Line 1188: ModelState.AddModelError("", warning);
Source File: C:\WorkflowGridWebSite\Presentation\Nop.Web\Controllers\CheckoutController.cs Line: 1186
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Nop.Plugin.Payments.StripePro.Controllers.StripeProController.ValidatePaymentForm(FormCollection form) +161
Nop.Web.Controllers.CheckoutController.EnterPaymentInfo(FormCollection form) in C:\WorkflowGridWebSite\Presentation\Nop.Web\Controllers\CheckoutController.cs:1186
lambda_method(Closure , ControllerBase , Object[] ) +104
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +157
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +22
System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +29