زرین پال در mvc

LeilaSaeidi

عضویت : 1398/04/12 پرسش ها : 1 پاسخ ها : 0

زرین پال در mvc

ارسال شده در : ‫۴ ماه قبل، چهار شنبه ۱۹ تیر ۱۳۹۸، ساعت ۱۱:۴۰

سلام

خیلی ممنونم از آموزش هاتون

من موقع اجرا به این خطا بر میخورم

System.ServiceModel.EndpointNotFoundException
  HResult=0x80131501
  Message=There was no endpoint listening at https://sandbox.zarinpal.com/pg/services/WebGate/service that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
  Source=mscorlib
  StackTrace:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at InternetShop.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequest(PaymentRequestRequest request)
   at InternetShop.ZarinPal.PaymentGatewayImplementationServicePortTypeClient.InternetShop.ZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequest(PaymentRequestRequest request) in C:\Users\User\source\repos\InternetShop\InternetShop\Connected Services\ZarinPal\Reference.cs:line 565
   at InternetShop.ZarinPal.PaymentGatewayImplementationServicePortTypeClient.PaymentRequest(String MerchantID, Int32 Amount, String Description, String Email, String Mobile, String CallbackURL, String& Authority) in C:\Users\User\source\repos\InternetShop\InternetShop\Connected Services\ZarinPal\Reference.cs:line 577
   at InternetShop.Controllers.HomeController.Payment(Decimal amount) in C:\Users\User\source\repos\InternetShop\InternetShop\Controllers\HomeController.cs:line 430
   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__11_0()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()

Inner Exception 1:
WebException: The remote name could not be resolved: 'sandbox.zarinpal.com'
 

برای ارسال پاسخ باید وارد شوید و یا در سایت عضو شوید