预填充外部网站表单
我有一张供用户填写的捐赠表格,然后我想将用户发送到慈善机构自己的网站,并填写其信息。这可能吗?
谢谢
I have a donation form which users fill out and I would like to then send the user to the charities own website with their information already filled in. Is this possible?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我公司业务的重要组成部分……但我们也必须依赖客户。这对你和他们来说都是一次很好的锻炼。
这是基本想法。我们从网站获取网络表单条目。我们有一个脚本来处理信息并决定将信息路由到哪里(我们为很多不同的客户端执行此操作)然后系统遍历每个单独站点(类中的函数)的逻辑,告诉它如何传递信息超过。在某些情况下,这只是发给某人的电子邮件。在其他情况下,我们将一个字符串卷曲到接收站点已设置为接受的字符串上。有一个网站允许我们直接发布到其网站上的“隐藏”页面......但这对我来说似乎不是最安全的选择。关键是与合作伙伴协商他们希望如何接收信息。如果你帮助他们获得捐赠者,我怀疑他们会愿意尽其所能提供帮助。
请注意,尝试跨站点转发捐赠信息可能会出现一些安全问题...您需要尽可能保持安全...就我个人而言,我认为我永远不会传输任何内容类似于信用卡号,但通过 SSL 发送给处理器。
我担任非营利网站管理员已有好几年了,并且仍然咨询过几个非营利网站。有专门用于此目的的系统(我想到的是善意的网络)此外,我还看到一些团体专门建立非营利组织来代表其他非营利组织接受捐款。重点是,有许多不同的方法可以完成此任务,但并非所有方法都与代码相关。
This is a big part of what my company does....but we have to rely on the client as well. It could be a great exercise for both you and them.
Here's the basic idea. We take a web form entry from a site. We have a script that processes the information and decides where to route the info (we do this for quite a few different clients) Then the system goes through logic for each individual site (functions in a class) that tells it how to pass the information over. In some cases, it's simply an email to a person. In other cases, we CURL a string over that the recipient site has been setup to accept. One site allows us to directly post to a "hidden" page on their site....this doesn't seem the most secure option to me, though. The key is to negotiate with the partner how they'd like to receive the information. If you're helping them get donors, I suspect they'll be willing to do anything they can to help.
Be aware, there could be some security issues with trying to forward donation information across sites....you'll want to remain as secure as humanly possible....and personally, I don't think I'd ever transmit something like a credit card number except to a processor via SSL.
I was a non-profit webmaster for quite a few years, and still have several non-profit sites I consult with. There's systems out there just for this purpose (one that comes to mind is network for good) Also, I've seen groups build non-profits specifically to accept donations on behalf of other non-profits. Point being, there's many different ways to approach this task, not all of them even code related.