是否可以通过 ASP.NET Web 表单使用 Braintree 付款? Braintree 提供an MVC example .
我试过this solution但它不能正常工作。这是我的server side code和我的template ;我对原始版本做了一些改动。
主要问题是单击提交
按钮时没有任何操作——页面只是重新加载。为什么?
最佳答案
我在 Braintree 工作。
我写了一个simple webforms example使用透明重定向可能会帮助您解决问题。
查看您的代码以及您所描述的问题,我猜 SessionUtils.Instance.TransparentRedirectURL
返回空字符串或 null
,因此当您发布时它返回到当前页面的表单。
关于c# - 使用网络表单的 Braintree 付款,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14892388/