سلام مهندس همین کار هارو کردم بدون هیچ ارور رو لوکال انجام میشه اما در هاست ارور میده
System.InvalidOperationException: Could not find default endpoint element that references contract 'Zarinpal.PaymentGatewayImplementationServicePortType' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element. at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName) at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress) at System.ServiceModel.ConfigurationEndpointTrait`1.CreateSimplexFactory() at System.ServiceModel.ConfigurationEndpointTrait`1.CreateChannelFactory() at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait) at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef() at System.ServiceModel.ClientBase`1..ctor() at etekaf.Controllers.HomeController.singinEtekaf(etekafViewModel etekafUser, HttpPostedFileBase file) in C:\Users\erfan\Desktop\etekaf\etekaf\etekaf\Controllers\HomeController.cs:line 247
فکر میکنم این روش کار نکنه چون در سایت زرین پال همچین چیزی نیست
به ارور دقت کنید
نمیدونم چطور ولی انگارر داره از لوکاال سیستم شما میخونه
C:\Users\erfan\Desktop\etekaf\etekaf\etekaf\Controllers\HomeController.cs