Drupal 中的捐赠
我的网站有许多不同的人,每个人代表不同的疾病。我创建了一个内容类型“人”来代表每个人,并添加了一些 cck 字段,例如姓名、图像、位置等......现在我想做的就是添加为他们的事业捐款的能力。每个人的页面上都会有一个捐赠按钮。我还希望能够跟踪捐款并反映每个人已收集的金额(例如 25 美元/500 美元)。现在所有的钱都会存入一个贝宝帐户(而不是每个人的帐户),所以我真的不知道如何跟踪每个人的金额。对此的任何建议都将受到高度赞赏!我正在使用 Drupal 6
My site have a number of different persons each representing different diseases. I made a content type "person" to represent each person, and add some cck fields such as name, image, location etc...Now all I want to do is add the ability to donate to their cause. Each individual would have a donate button on her/his page. I'd also want to be able to track the donation and reflect the amount that had already been collected by each person (for example $25/$500). Now all the money will be going to one paypal account (not to each individual person's account), so I'm really not sure how to track the amount for each person. Any advice on this is highly appreciated! I'm using drupal 6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有一个与 Paypal 帐户绑定的捐赠表单,您可以轻松创建一些挂钩来捕获表单提交、查看捐赠金额,并为该特定“人”更新相应的 CCK 字段。
If you have a Donate form tied into a Paypal account, you could easily create some hooks to capture the form submission, look at the donated Amount, and update the appropriate CCK field for that particular 'person'.