开发者

click pay now in paypal page update my database too

开发者 https://www.devze.com 2022-12-20 10:51 出处:网络
I have a table to store my credit from user has been paid. credit +id +amount My goal is when you user click on button pay now in paypal page I have abiltity toupdate my table the amount field.

I have a table to store my credit from user has been paid.

credit
  +id
  +amount

My goal is when you user click on button pay now in paypal page I have abiltity to update my table the amount field.

Anybody know the ways to do this,

thanks

开发者_JAVA技巧

EDIT: look at this code

http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html


If the button goes off to PayPal, you'll need to intercept the request first, either with AJAX, or send to a PHP script, and then send on through to PayPal.


PayPal's Instant Payment Notification protocol is usually what's used to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号