Basically what I am trying to do is, make is to that if and only if someone goes through with the payment and pays it will write certain data to an SQL server. I understand i could just redirect them to a page that runs the code but the issue is they could just refresh infinitely. Any ideas?
1条回答 默认 最新
duanlao6573 2014-03-20 21:43关注Check your Paypal documentation, but when I did this last, the interface had a place where you can put your receiving URL. There you can test for $_POST["RESPMSG"] == "Approved"
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报