I am relatively new to CMS, but I am working on creating websites using the tool for my company. Most of the time, we do not offer e-commerce in our packages, but the first assignment that I received had one. In the past, these websites were created by another team and they did do an e-commerce release. However, they are not available any longer to question about the issue that we have run into.
The problem that I am having is when we try to finish the process in the shopping cart. Everything appears to be working fine until we get to the final step and click on the Finish Payment button. My understanding is that this should redirect the customer to the payment method selected. In this case, we only have PayPal setup and it should redirect the customer to that site.
The issue is that we receive the following error message when we click the button.
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 157: {
Line 158: // Process payment
Line 159: this.ShoppingCartControl.PaymentGatewayProvider.ProcessPayment();
Line 160: }
Line 161:
Source File: c:\websites\customer.sedonatek.com\wwwroot\carlyleanderson.sedonatek.com\CMSModules\Ecommerce\Controls\ShoppingCart\ShoppingCartPaymentGateway.ascx.cs Line: 159
Does anyone have any ideas on what could be causing the error at this point? We modeled the e-commerce setup off of an existing website. Currency is setup correctly. I created a shipping method after speaking with the Kentico support email. This error message appears to be created before we ever reach PayPal, so I am lead to believe that it is something on the Kentico CMS side of our site.
One of the largest issues that I am facing is the fact that I do not have access to the files on the server. Those are controlled by another team. So, any suggestions that involve changing those files will be difficult to use.
Right now, I am just hoping for some guidance on where to look to see what is causing the error and how I can get the error message to give me more detail.