c# - 服务器表单中的 ASP.net paypal 表单

标签 c# asp.net webforms paypal

如果我将我的 Paypal 按钮放在我的 ASP.net 网站上,它不起作用,因为整个页面都包含在 <form runat="server"></form> 中标签。

什么是最好的整合方式:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    ....
</form>

到我的 ASP.net 页面上?

最佳答案

您需要使用 PayPal NVP API .与预制按钮相比,它也为您提供了更大的灵 active 。

关于c# - 服务器表单中的 ASP.net paypal 表单,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6808028/

相关文章:

c# - 不能让空单元格只有颜色

c# - SelectedIndexChanged 在动态下拉列表中不起作用

ASP.NET:page.Session 和 HttpContext.Current.Session 之间的区别

c# - session 变量与局部变量

asp.net - 在脚本标记src属性中使用代字号

c# - 从 SQL Server 请求 webform 中的 nvarchar 类型时出错

css - 父 div 重叠子 div

c# - 如何在 C++/CLI 中将属性添加到返回值?

c# - 查询浮点字段时 LAMBDA 表达式中的“指定转换无效”

c# - 多次在 foreach 中使用对象