Rails - Paypal 安全问题

发布于 2024-09-11 16:54:17 字数 967 浏览 1 评论 0原文

我正在尝试处理交易付款。目前,我正在控制器的方法中重定向到 paypal url,并传入 url 中的变量。 Paypal 似乎将其转换为安全 - https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=lUAK-18U7c_uxbs0wYsKTqcO7tDjb9M4O2A0hqd4gsKhEyhlC0xCxFabBL8&dispatch=50a222a57771920b6a3d7b60 6239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081983b975b35e10fe14fd9a7167ca5aec13b

摘要: 用户表单 ->控制器方法->重定向到带有变量的 Paypal URL

这有多安全?在 Paypal 将其转换为安全格式之前,用户是否可以访问我重定向到的网址?我是否需要实施此 Rails Cast 上建议的加密 - http://asciicasts.com/episodes /143-paypal-security

我认为我需要,但如果不需要,我宁愿不这样做。

谢谢!

I'm trying to process a payment for a transaction. Currently I'm redirecting to a paypal url in a controller's method and passing in the variables in the url. Paypal seems to convert this to secure it - https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=lUAK-18U7c_uxbs0wYsKTqcO7tDjb9M4O2A0hqd4gsKhEyhlC0xCxFabBL8&dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081983b975b35e10fe14fd9a7167ca5aec13b

Summary:
User Form -> Controller Method -> Redirected to Paypal URL with variables

How secure is this? Can users access the url I'm redirecting to before Paypal converts it to a secure format? Do I need to implement the encryption recommended on this rails cast - http://asciicasts.com/episodes/143-paypal-security

I'm thinking I need to, but would rather not if it's not needed.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬﹪忆之殇 2024-09-18 16:54:17

不确定您的安全问题,但您可能想看看 ActiveMerchant。它涵盖了大多数类型的 Paypal 付款方式,并且非常易于使用。

Not sure on your security question, but you may want to take a look at ActiveMerchant. It covers most types of Paypal payments, and is really easy to work with.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文