Darnel Posted January 10, 2013 Share Posted January 10, 2013 Hi, really need some advice on Paypal API. I'm not sure which API to use. All I need is for Paypal to take payments from a users owed money wallet (a field in a Mysql table) preferably every month or so. Also the user would need to sign a agreement for this? Any help is appreciated. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/272957-paypal-api/ Share on other sites More sharing options...
denno020 Posted February 10, 2013 Share Posted February 10, 2013 You're going to need to look at PayPal IPN. But there is absolutely no way you'll be able to set up something that would automatically take money from someone's account. They will have to authorize it, so you'd need to send them an email or whatever letting them know that it's time to pay, then provide them a link to your website, in which they could initiate the PayPal IPN, log in and make the payment of whatever amount you've set as the amount they owe you. Denno Quote Link to comment https://forums.phpfreaks.com/topic/272957-paypal-api/#findComment-1411409 Share on other sites More sharing options...
requinix Posted February 10, 2013 Share Posted February 10, 2013 PayPal does have billing agreements. You send the user to PayPal, they click the "I authorize this business to bill me any amount at any time" (basically) checkbox, and you get a billing agreement ID. Through a set of API calls you can bill to that ID without needing user intervention. Know that the user can void the agreement at any time. Example: at my work we use it for recurring payments (eg, subscriptions). Quote Link to comment https://forums.phpfreaks.com/topic/272957-paypal-api/#findComment-1411413 Share on other sites More sharing options...
denno020 Posted February 10, 2013 Share Posted February 10, 2013 PayPal does have billing agreements. You send the user to PayPal, they click the "I authorize this business to bill me any amount at any time" (basically) checkbox, and you get a billing agreement ID. Through a set of API calls you can bill to that ID without needing user intervention. Know that the user can void the agreement at any time. Example: at my work we use it for recurring payments (eg, subscriptions). I wasn't aware of this. However I guess eBay do it don't they.. Quote Link to comment https://forums.phpfreaks.com/topic/272957-paypal-api/#findComment-1411415 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.