简体   繁体   中英

PHP paypal billing agreement

This is very general question.
I want my user to sign a Paypal billing agreement with me and bill his PayPal account in the end of the month by usage.
All the code examples I had encountered are using predefined packages, while I need to bill the user by the usage which changed from month to month.

Does anyone knows a PHP code example for this? Or do you have any link with good How To / code example?

Thanks!

For variable amounts you'll need to use Reference Transactions or Preapproved Payments .

Since you're using PHP I'd recommend taking a look at my class library for PayPal . It will make this very simple for you, and comes with samples as well as empty templates you just have to fill in.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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