SagePay integration from Windows Forms

后端 未结 3 1110
孤城傲影
孤城傲影 2021-01-23 07:12

I’ve been asked to integrate a windows form application with SagePay to take payments directly from the application. The SagePay documentation talks about ASP.NET so I’m not sur

相关标签:
3条回答
  • 2021-01-23 07:42

    I know some payment processors have a connection option where the payment part is hosted on a form on their server. You could try embedding a web browser control into your app to display the payment page.

    Usually there is another type of connection option where you can send your information via HttpWebRequest, but I'm not sure that this would work as it requires SSL. Since you are running your app as a desktop client, I'm not sure what you would have available.

    0 讨论(0)
  • 2021-01-23 07:47

    I am not sure this is possible given that sagepay needs to redirect users to Mastercard securecode or Verified by Visa, I think they would need to redirect to the bank which then redirects back to a supplied URL. I would think this needs to be within a browser environment.

    0 讨论(0)
  • 2021-01-23 07:53

    You can post to urls and get back a response via .net objects and parse the results to display on a form.

    You can also ask SagePay to create a Vendor account with 3d secure switched off. This allows you to take payments in house in your winforms app without the customers password however most card vendors if you bypass 3d secure will not protect you if someone calls and uses a card fraudulently.

    However it can definitely be done.

    You can normally post to secure servers from non secure pages so again this isn't usually an issue.

    0 讨论(0)
提交回复
热议问题