简体   繁体   English

Paypal Sandbox Vault:C#操作已超时(HTTP请求超时设置为30000ms)

[英]Paypal Sandbox Vault: C# The operation has timed out (HTTP request timeout was set to 30000ms)

How do I change the timeout period for a PayPal Vault transaction? 如何更改PayPal保险柜交易的超时期限? Sometimes it works and other times I keep getting this timeout error even though I'm changing credit card numbers. 有时它可以正常工作,而有时我一直在收到此超时错误,即使我正在更改信用卡号。

I'm using VS 2013 and C#. 我正在使用VS 2013和C#。 I've seen a reference to paypal.config but I don't know where that would be placed or what to put in it. 我已经看到了对paypal.config的引用,但是我不知道该将放置在什么位置或放在其中。

I'm building the config in code so all I had to do is add: 我正在代码中构建配置,所以我要做的就是添加:

config = new Dictionary<string, string>();
config.Add("connectionTimeout", "120000");

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 30000毫秒后C#Docker MongoDB超时 - C# Docker MongoDB Timeout after 30000ms 使用 C# 访问 Azure 中的 MongoDB 时选择服务器 30000 毫秒后发生超时 - A timeout occured after 30000ms selecting a server while accessing MongoDB in Azure using C# C#SmtpServer“操作已超时” - C# SmtpServer “The operation has timed out” C#htmlagilitypack操作已超时 - C# htmlagilitypack the operation has timed out 使用 CompositeServerSelector 选择服务器 30000ms 后发生超时 - A timeout occured after 30000ms selecting a server using CompositeServerSelector C#并行WebClient-操作已超时 - C# Parallel WebClient - The operation has timed out C#GetRequestStream()Outlook插件“操作已超时” - C# GetRequestStream() outlook add-in “The operation has timed out” System.TimeoutException:使用CompositeServerSelector选择服务器30000ms后发生超时 - System.TimeoutException: A timeout occured after 30000ms selecting a server using CompositeServerSelector System.TimeoutException: Timeout 30000ms exceeded Playwright with .net 5 核心应用程序 - System.TimeoutException : Timeout 30000ms exceeded Playwright with .net 5 core application HttpWebRequest请求被中止:操作已超时 - HttpWebRequest The request was aborted: The operation has timed out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM