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?
/Q
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.
Name
Pago por telfono
Klarna Checkout
Pay By Credit Card
Customer Bonus
Klarna Checkout
Pay By Phone
Pay per Telefon
Customer Bonus
Gift Certificate
Customer Bonus
Gift Certificate
Gift Certificate
Klarna Checkout
ExchangePayment
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.
Hi Support,
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.
Hi Support,
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.
Hi,
We are getting a YSOD when trying to create a payment. cms: 9.10.0.0, commerce: 9.16.0.1617. We have not edited the xml file PaymentPlan-ObjectView.xml. Thankful for any tips.
Server Error in '/' Application.
The file '/Apps/Core/MetaData/Controls/.ascx' does not exist.
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.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.07