[英]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.