English 中文(简体)
视像仪表
原标题:SagePay integration from Windows Forms

我被要求将Windows表单应用程序与SagePay集成,以直接从应用程序中接收付款。 SagePay文档提到了ASP.NET,所以我不确定是否可能。有人以前将WinForm应用程序与SagePay集成过吗?可能吗?

最佳回答

我知道一些支付处理器有一个连接选项,其中支付部分托管在他们服务器上的表单上。您可以尝试将Web浏览器控件嵌入应用程序中以显示付款页面。

通常还有另一种联系选择,即你可以通过HttpWebRequest来发送你的信息,但我不相信这样做会符合SSL的要求。 由于你是一家 desktop客户,我不敢肯定你可以提供什么。

问题回答

我不确定这是否可能,因为sagepay需要将用户重定向到Mastercard securecode或Verified by Visa,我认为他们需要重定向到银行,然后再重定向回提供的URL。我认为这需要在浏览器环境中完成。

你可以通过.NET对象发布URL并收到响应,然后解析结果在表格上显示。

你也可以要求SagePay创建一个关闭3D安全的供应商帐户。这允许您在您的Winforms应用程序中接受付款,而不需要客户密码,但是大多数卡供应商如果绕过3D安全,将不会保护您免受有人恶意使用卡的骗局。

然而,这无疑是可以做到的。

通常,你可以把服务器从非安全网页上排出,这样,通常就是一个问题。





相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.

热门标签