Paypal PHP MySQL集成教程 [英] Paypal php MySQL integration tutorial

查看:102
本文介绍了Paypal PHP MySQL集成教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页上运行着一个完整的自动通知系统,这是一个简单的PHP脚本,它可以在数据库中搜索电子邮件,然后将电子邮件发送给每个人,所有这些都使用Cronjob.问题是,现在我想将免费服务转变为付费服务.我想使用PayPal,有一段时间我一直在使用它进行捐款,但是现在我希望它进行每月付款,并且每当用户每月付款时,都会在数据库中输入一个新值,以便PHP脚本可以知道是否用户是否付款以发送或不发送电子邮件.

I have a complete automatic notification system running on my web page, that is a simple PHP script which search for emails in a database and then send an email to each one, all of this using a Cronjob. The thing is that now i want to transform my free service into a pay one. I want to use PayPal, for a while I've been using it for donations, but now i want it to do monthly payments, and every time the user pays a month a new value enter in the database so the PHP script can know if the user pay or not in order to send or not the email.

我知道如何在PayPal上使用每月付款系统,但是我找不到任何有关如何将PayPal的结帐流程集成到我的自定义php脚本中的教程,以便自动知道我的用户何时付款,然后执行对MySQL的修改.谢谢

I know how to use the monthly payment system on PayPal, but I can't find any tutorials on how to integrate the checkout process of PayPal to my custom made php script in order to automatically know when my users pays and then do a modification on MySQL. Thanks

推荐答案

查看此链接

Check out this link About IPN and API for paypal , you should set yout IPN in your account first .

这是一个 PHP示例

这篇关于Paypal PHP MySQL集成教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆