我的问题是,在用户付费使用paypal更新状态后,如何自动运行php脚本?或者还有其他方法吗?
由于
答案 0 :(得分:0)
根据PayPal的documentation,
"When a customer makes a payment to you or a payment is reversed or refunded,
PayPal will post a notification to your server at the URL you specified."
您向他们提供了该页面,例如www.my-site.com/process.php,付款应该发布。 用
处理if ($_POST["payment"] != ""){
...your code to interact with your database
}