gpt4 book ai didi

asp.net - Paypal 回传问题

转载 作者:太空宇宙 更新时间:2023-11-03 16:20:28 25 4
gpt4 key购买 nike

希望有人能回答我的问题。

我正在开发一个带有 Paypal “立即购买”按钮的网页。该页面的代码如下所示

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
...
<div id="content">
@RenderBody()

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<input type="hidden" name="..." value="..."/>
<input type="hidden" name="..." value="..."/>
<input type="image" src="..." border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" border="0" src="..." width="1" height="1"/>
</form>
</div>
<div id="footer2">...</div>

</html>

当用户单击“购买报告”按钮时,他将被带到一个全新的页面,即远离我的网站的 paypal 网站。我想要实现的是当用户点击“购买报告”时我想在我的网页中显示 Paypal 页面

我正在使用 ASP.NET MVC3。可以吗?请帮忙

最佳答案

我建议不要使用 IFrame,以“顺其自然”的方式使用 PayPal。在 PayPal 中有一个可配置的选项也可以返回您的网站。

关于asp.net - Paypal 回传问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7066328/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com