简体   繁体   English

贝宝捐赠与Joomla中的摘要

[英]Paypal donations with summary in Joomla

I'm working on a joomla site for a charity event. 我正在joomla网站上从事慈善活动。 The event has 5 causes to donate for each with its own page. 该活动有5个捐赠原因,每个捐赠者都有自己的页面。 I have created paypal donation buttons for each of the five causes using this site: https://www.paypal.com/cgi-bin/webscr?cmd=_donate-intro-outside . 我已经使用此网站针对以下五个原因中的每一个创建了贝宝捐赠按钮: https : //www.paypal.com/cgi-bin/webscr? cmd=_donate-intro-outside。 That all works fine but I need to accomplish two more things. 一切正常,但我需要完成两件事。 1) How do I display a summary of the donations for each cause on its respective page and 2) How do I display a total donations received across all 5 causes on the home page? 1)如何在其各自的页面上显示每种原因的捐款摘要,以及2)如何在主页上显示所有5种原因收到的捐款总额?

I am currently going into the paypal account and updating these values manually every night. 我目前正在进入Pay​​pal帐户并每晚手动更新这些值。 I know there has to be a better way. 我知道必须有更好的方法。 I think I have to do something with IPN but I can't find any good documentation. 我想我必须对IPN有所帮助,但是找不到任何好的文档。 I'm not a php programmer so I need some hand holding but I can get through it with some help. 我不是PHP程序员,所以我需要一些帮助,但是我可以在一些帮助下完成它。

I have searched high and low for a Joomla extension to do this but I just can't seem to find anything that fits my situation. 我已经在高端和低端搜索了Joomla扩展,但是我似乎找不到适合自己情况的东西。 Any help would be appreciated. 任何帮助,将不胜感激。

Thanks! 谢谢!

I don't think you'll be able to pull this off without some PHP programming and a good integration with Joomla. 我认为如果没有一些PHP编程以及与Joomla的良好集成,您将无法实现这一目标。

As a general overview you will have to: 作为一般概述,您将必须:

  • activate and configure IPN (Instant Payment Notifications) in PayPal 在PayPal中激活和配置IPN(即时付款通知)
  • for your buttons configure the notify_url (the URL where PayPal should send the IPN) 为您的按钮配置notify_url(贝宝应将IPN发送到的URL)
  • on the Joomla site you will have to process those notifications and save into a database the transaction information that you get 在Joomla网站上,您将必须处理这些通知并将获得的交易信息保存到数据库中
  • finally - on each of your pages you will have to do a database look up and compute the totals that you require. 最后-在每个页面上,您都必须进行数据库查找并计算所需的总数。

I have used Jumi (Joomla extension) to implement something similar to what you need, but it does require a lot of PHP programming to do it like this. 我已经使用Jumi(Joomla扩展名)来实现与您需要的东西类似的东西,但是它确实需要很多PHP编程才能做到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM