: Paypal Automatic Billing API Paypal offer Automatic Billing Buttons which allow regular billing for different amounts. After a couple of hours googling I cannot find how to access this functionality
Paypal offer Automatic Billing Buttons which allow regular billing for different amounts. After a couple of hours googling I cannot find how to access this functionality using the API, so that it can be automated as opposed to done manually via the paypal account.
Is it possible? Can someone point me to a sample/reference?
More posts by @Shelton105
4 Comments
Sorted by latest first Latest Oldest Best
Take a look at PayPal Reference Transactions. It appears it does exactly what "Automatic Billing" does (i.e. automated regular billing for different amounts), but you can do it all through API's.
Doing it with the API is pretty much the same as doing it through a button. By default, PayPal is going to bill the same amount. This is the most common type of recurring payment, and also PayPal only has the fixed amount specified during the creation of the recurring payment.
PayPal can be very convenient, but it's not magic. If you want to bill a different amount this month from the previous, you need to tell PayPal what you want the new amount to be. You can do this either manually through the admin panel, but you can also do it via the API. But you still need to tell PayPal what to change the amount to.
So use the API call that Anagio linked to to create the recurring payment profile (after you've created the billing agreement), and then when you need to alter the billing amount, use the UpdateRecurringPaymentsProfile API to set the new amount.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.