Mobile app version of vmapp.org
Login or Join
Shelton105

: 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

@Shelton105

Posted in: #Paypal

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?

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

4 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

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.

10% popularity Vote Up Vote Down


 

@Ogunnowo487

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.

10% popularity Vote Up Vote Down


 

@Shelton105

Paypal have confirmed that this is not possible via the API :(

10% popularity Vote Up Vote Down


 

@Annie201

This is the API documentation for creating recurring payments

Another useful page is here on handling recurring payments.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme