We are getting a YSOD when trying to create a payment. cms: 126.96.36.199, commerce: 188.8.131.527. We have not edited the xml file PaymentPlan-ObjectView.xml. Thankful for any tips.
Server Error in '/' Application.
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.Web.HttpException: The file '/Apps/Core/MetaData/Controls/.ascx' does not exist.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[HttpException (0x80004005): The file '/Apps/Core/MetaData/Controls/.ascx' does not exist.]
System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +4574825
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +549
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +146
System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7675
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.07
Which payment are you trying to create? It looks like certain controls are missing from configuration.
The YSOD appears directly when clicking on the "Create Payment" button (so directly when the dialog opens).
OK, so what payment gateways do you have? It looks like one or more payment gateways have wrong configuration. What do you have if you run
SELECT * FROM [ECFLocalDev].[dbo].[PaymentMethod]
in Commerce database, and what do you have in ~/Apps/Order/Payments/MetaData/ folder? Do they match?
The MetaData folder does only contain a Authorize (inside images folder and a EditTab.ascx) folder.
What are you interested in seeing from the PaymentMethod table? Pasting the names as a first.
NamePago por telfonoKlarna CheckoutPay By Credit CardCustomer BonusKlarna CheckoutPay By PhonePay per TelefonCustomer BonusGift CertificateCustomer BonusGift CertificateGift CertificateKlarna CheckoutExchangePayment
But the swedish market has only got Customer Bonus, Gift Certificate, and Klarna Checkout when looking in commerce manager.
When deactivating Gift Certificate and Customer Bonus, the dialog works!
Could you give me any tip on what I can check that may be configured wrong/missing?
It seems that the fields we have added to the giftcardpayment method was of type nvarchar. When changing this to LongString instead the dialog works.
Strange that nvarchar as available as a MetaDataType if it does not work.
We are using two custom payment gateway in our project and working fine for the front end but facing issues in the create payment option in the commerce manager. We are getting "Object reference not set to an instance of an object." error when clicking on the "Create Payment".
Notice that if the payment method (both added by us) is turned off in payment method table, then at back end the create payment option opens with a popup but with the blank drop-down for payment (for obvious reason) but the moment we are activating the payment gateway it is throwing error.
So of course, we have to do something to make the create payment option available for the commerce manager. Any solution regards to this will be appreciated.