- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
paypalfunctions.asp and expresscheckout.asp files
我希望得到帮助,如果没有帮助,那么可以雇用精通经典 ASP 和 PayPal 的开发人员来帮助我解决这个问题。
我们有一台运行经典 ASP 的 Windows 2008 R2 服务器。我们已经进行了一年多的沙盒测试开发,最近所有 PayPal Express Checkout“帖子”似乎都停止了,现在当您单击按钮将您带到 expresscheckout 时,屏幕变为空白。白色的。绝对不返回任何内容。
所以这意味着 PayPal 似乎已经停止或改变了它与 WinHTTP.WinHTTPRequest.5.1
的工作方式,或者我们的服务器以某种方式 self 更新?
PayPal 在 Classic ASP 中使用 WinHTTPRequest.5.1 通过其快速结帐发送 NVP。
我们使用带有 API 签名的 IPN 通知的经典 ASP。
当在 paypalfunctions.asp 中删除 On Error Resume Next
时,我收到以下错误;
500 Error - Description: An error occurred in the secure channel support.
Error Code: 80072f7d. Line: 176
添加
objHTTP.Option(9) = 128
到 WinHTTP 请求和
response.write(nvpStrComplete)
返回
METHOD=SetExpressCheckout&VERSION=93&USER=sdk%2Dthree%5Fapi1%2Esdk%2Ecom&PWD=QFZCWN5HZM8VBG7Q&SIGNATURE=A%2DIzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU&L%5FPAYMENTREQUEST%5F0%5FNAME0=My Order&L%5FPAYMENTREQUEST%5F0%5FDESC0=My Item&L%5FPAYMENTREQUEST%5F0%5FAMT0=4&L%5FPAYMENTREQUEST%5F0%5FNAME1=Handling Fee&L%5FPAYMENTREQUEST%5F0%5FAMT1=0%2E42&PAYMENTREQUEST%5F0%5FPAYMENTACTION=Sale&PAYMENTREQUEST%5F0%5FCURRENCYCODE=USD&PAYMENTREQUEST%5F0%5FAMT=4%2E42&RETURNURL=http%3A%2F%2Fwww%mysite%2Ecom%2F%23paymentcomplete&CANCELURL=http%3A%2F%2Fwww%2Emysite%2Ecom%2F%23paymentcancel&ALLOWNOTE=0&BUTTONSOURCE=PP%2DECWizard
这对我来说还好吗?
有人知道如何使用 paypalfunctions.asp
标准输出向导集成代码解决 WinHTTP.WinHTTPRequest.5.1
问题吗?
或者,如果没有并且这不再是一个选项,可以推荐专业且称职的 Classic ASP/PayPal 开发人员,以便他/她可以使用/修改我们现有的代码?
最佳答案
只是总结评论。
错误指向安全通道的问题,这通常与用于调用端点的错误协议(protocol)有关。
这并不意味着 WinHTTP.WinHTTPRequest.5.1
不起作用,它只是意味着使用了错误的协议(protocol)来发出 HTTP 请求。
由于 POODLE SSL 3.0 中的互联网安全漏洞 PayPal informed their users that support for SSL 3.0 would be disabled从沙盒开始。
Quote from PayPal - Required security update
How is PayPal responding?
PayPal will completely disable SSL 3.0 support in a timeframe to be announced via PayPal Notify; however, based on security monitoring, we may need to move quickly to protect our customers so time is of the essence in making changes. Unfortunately, we realize shutting off SSL 3.0 may cause compatibility problems for a few of our customers resulting in the inability to pay with PayPal on some merchant sites or other processing issues that we are still identifying. To enable your assessment and potential remediation, we’ve put together this Merchant Response Guide to ensure your integration is secure from this vulnerability.
解决方法是使用 TLS,这样您就可以毫无问题地连接到端点。
您可以使用 WINHTTP_OPTION_SECURITY_FLAGS 执行此操作与 Option
property WinHttp.WinHTTPRequest.5.1
对象。
'The WINHTTP_OPTION_SECURITY_FLAGS option
Const WinHttpRequestOption_SecureProtocols = 9
'Valid WINHTTP_OPTION_SECURITY_FLAGS option flags
Const SecureProtocol_SSL2 = 8 'SSL 2.0
Const SecureProtocol_SSL3 = 32 'SSL 3.0
Const SecureProtocol_TLS1 = 128 'TLS 1.0
Const SecureProtocol_TLS1_1 = 512 'TLS 1.1
const SecureProtocol_TLS1_2 = 2048 'TLS 1.2
然后您可以像这样修改您的 WinHttp 对象(假设该对象名为 winhttp
) 以切换安全协议(protocol);
winhttp.Option(WinHttpRequestOption_SecureProtocols) = SecureProtocol_TLS1_2
注意:某些版本的 Windows Server 不支持 SecureProtocol_TLS1_2
标记,或者可能需要修补程序。这实际上取决于系统上安装的 winhttp.dll
版本。
关于 Paypal 沙盒阻止 WinHTTP.WinHTTPRequest.5.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35720258/
我在 VB6 中使用 WebRequest 并且我将超时设置为“5000”(5 秒),但即使在 5 秒后它也没有超时,任何帮助表示赞赏。 x: Dim objWinHTTP Set objWinHTT
下面的代码在一个文件中完美运行,但是当我尝试在另一个文件中使用它时,我收到错误“未定义用户定义的类型”并且“http As New WinHttpRequest”被突出显示。这可能是什么原因突然不起作
我正在尝试使用 VBA 中的 WinHttpRequest 从在线 mySQL 服务器读取数据。 Dim objHTTP As New WinHttp.WinHttpRequest With objH
我正在使用 AHK 脚本发送一些 POST 请求。 我正在尝试获得超时响应,以便向用户弹出一些消息。 我不知道如何使用“SetTimeouts”方法和“WaitForResponse” 见下面的代码
我正在尝试使用 vba WinHttp.WinHttpRequest 向 kigo 的 api 发出请求, 我能够发送请求,但 WinHttpRequest 更改了内容类型添加 Charset=UTF
我试图使LINK FINDER和面临2个问题 问题1(已解决)::无法获取重定向页面的URL 通过使用 WinHttp.WinHttpRequest.5.1 解决了REFERNCE LINK 问题2(
我使用的程序运行 .VBS 脚本 那么,在 VBScript 中,如何处理 WinHttpRequest 对象的 OnResponseFinished 事件? Set oHTTP = CreateOb
如果使用 VBA 和 Excel 发生此事件,我想设置超时值并捕获它。到目前为止,我尝试使用 XMLHTTP60 和 WinHttpRequest: Set XMLHTTP = CreateO
是否有内置的 .NET 类可以替代 WinHttp.WinHttpRequest 或像 WinHttp.WinHttpRequest 一样工作? 谢谢! 最佳答案 有System.Net.HttpRe
我希望使用网页上的 API,目前有一个可以在 VBA 中运行的 VB 示例,并且希望可以在 Javascript 中创建等效的方法 Set http = CreateObject("WinHttp.W
你可以看到很多人在网站上使用鼠标点击和键盘模拟在浏览器窗口或使用 IE COM 来自动化,但对于某些应用程序,你不希望你的应用程序占用数百兆字节的 RAM 并使用大量 CPU呈现网站等的权力 所以问题
我想通过 VBA 和 WinHttp 库将时间序列的多行(测量值)发布到 InfluxDB,精度以秒为单位(精度 = s)。 当发布一个测量值时,一切正常,并且可以在数据库中找到测量值。 当使用\n
代码: var WinHttpReq: OleVariant; procedure TForm1.Button1Click(Sender: TObject); begin WinHttp
我正在运行一个调用函数以从服务器检索信息的宏。我正在使用“WinHttp.WinHttpRequest.5.1”进行连接。对于我 95% 的请求返回有效结果,该宏工作正常。但另外 5% 导致了以下错误
paypalfunctions.asp and expresscheckout.asp files 我希望得到帮助,如果没有帮助,那么可以雇用精通经典 ASP 和 PayPal 的开发人员来帮助我解决
这个问题在这里已经有了答案: WinHttpRequest gzip response parsing (1 个回答) 去年关闭。 我正在使用 Excel 2007 (12.0.4518.1014)
就在我终于明白 Msxml2.XMLHTTP 和 Msxml2.ServerXMLHTTP 的区别的时候 http://support.microsoft.com/kb/290761 XMLHTTP
我很难过为什么这不起作用似乎找不到任何问题。 这是代码。 Public Const MULTIPART_BOUNDARY = "speed" Function getBalance() As Stri
如果我发送超过 12 个 VIN,我会遇到一个问题(HTTP STATUS 400 Bad Request)使用代码解码 VIN,但如果我通过粘贴到网站发送超过 100 个的列表,我会得到结果。 我正
我正在使用 WinHttpRequest.5.1 对象在 excel 365 (16.0.11328.20562) vba 脚本上发出一些 https 请求。 我知道来自服务器的证书会发生错误,因为
我是一名优秀的程序员,十分优秀!