Using Paypal Classic API Billing agreement can be created. Agreement Id can be used for future payment using Paypal reference transaction.
Can this same functionality achieved using Paypal REST API? If yes please help me providing reference. I'm aware Billing Plan and Billing agreement can be created using Paypal REST API but without Billing Plan billing agreement can't be created.
Regards,
"Billing agreement" in RESTful APIs is specificly for Recurring Payments, and that might have misled you.
The terms are slightly different between Classic APIs and the RESTful APIs, and Reference Transactions is pretty equivalent to what is called "future payments" in RESTful APIs.
Technical specs are listed HERE, pls be noted that as of now, future payment has to work with mobile integration on top of PayPal MSDK (to obtain user consent and auth code)
Now this feature is available in REST APIs also. But please note this is a vetted product from PayPal. Not every merchant will be approved to use the Pre-Approved payments . Docs are available - But as a limited release
Docs for PayPal Reference transaction API. Also called as pre-approved payments
Related
I've been looking for a solution everywhere after I saw PayPal mentioned Metered Billing on their developer page.
I would like to use PayPal for my SaaS, implementing a metered billing solution for billing my customers on a monthly basis a variable amount depending on their usage rate of the service.
I do remember an option for authorizing PayPal to give some software permission to execute payments without any further action from the side of the customer. Unfortunately, I cannot find any valid documentation, and not sure if is possible at all right now.
Is metered billing an option using the PayPal API?
Thank you so much!
What you are looking for is a "Reference Transactions" solution, which use PayPal Billing Agreements. It can be tested in sandbox, but to use it in live, the business account would need to be approved for this feature by PayPal. To do this the account owner would need to contact their PayPal account manager or PayPal's general customer support (not MTS), and explain the business need for this feature.
As far as implementing the solution, the only public documentation is for classic APIs: https://developer.paypal.com/docs/classic/express-checkout/ec-set-up-reference-transactions/ . Any newer API or vault solution isn't publicly documented currently, though I have seen some links surface about a v2 vault solution.
So, you can always contact PayPal's support and ask if there's something they'd rather you implement than classic APIs. The first hurdle is the business approval for the feature mentioned earlier.
Can I get a user's authorization to make future payments with Paypal on web?
On their documentation and samples, it seems to only be available via the mobile SDKs
Future Payments are only available for the PayPal Express Checkout payments with the MSDKs. So if you're trying to do something outside mobile, then you'll want to use the PayPal vault and create your API engine and use the vaulted card/ID for future transactions.
Or you can use the billing agreement API for this with your own recurring engine and create the billing frequency of consistent billing goals.
Hope this helps
I need to charge fee at every transaction made via PayPal so when user pays via my application i need to charge additional $1 to my PayPal account.
I know Adaptive payments in Classic API can do what i need. Is there a support for this in new REST API?
The REST API is a replacement to the Adaptive Payment API. However, if I understand that you're asking for the more complex payments like chained, parallel or split, then I believe they are scheduled to be supported by the REST API by early next year (2015).
Looking forward for PayPal's new RestAPI.
We have already started building and finding cool things as we go. Since its an on going process of releasing features it is still not clear sometimes what is supported and what is not. I am listing down my doubts for what is supported for Non-US developers.
Merchants cannot accept payments by taking credit card number.
Subscription / recurring payment possible?
For Pay with PayPal method, does Paypal offer to accept payments form non Paypal users? Like pay directly using card on Paypal page?
Do mention if I missed anything.
To register for a Live set of REST credentials you are required to provide:
U.S. Business owner Social Security Number, date of birth, and other personal details.
U.S. Business Tax ID (EIN, ITIN) and other business information.
Subscription / Recurring Payments are not yet available through the REST process. There are Reference Transactions allowed through "Vault" though.
There isn't an equivalent to "SOLUTIONTYPE" for the REST process yet but hopefully soon.
I'm looking at the new PayPal REST API and the examples. Does it work as of today to make recurring payments? (a.k.a: subscriptions with recurring payments with billing cycle and the number of times the recurring payment is made.)
I cannot find this information in the documentation.
Thanks,
PayPal REST API now officially support Recurring Payments (Billing Plans and Agreements)
The PayPal REST API doesn't currently offer recurring payments, although the Classic APIs do offer this feature:
https://developer.paypal.com/webapps/developer/docs/classic/use-cases/
There are two options here for the REST API.
First you can store a credit card in the vault to make recurring payments against that card.
The second option is not yet released, but will involve a long term OAuth token, see this answer.
Try the Paypal REST API-> https://developer.paypal.com/docs/integration/direct/create-billing-plan/
After setting your account, you´ll get a secret key and client id, which you´ll use later on to make the call to the api.
Remeber to set the grant_type on the apiContext so you don´t get a 403.
https://developer.paypal.com/docs/api/#create-a-plan
Billing Plan and Agreement APIs are also deprecated, we can use Subscription API instead,
Integration guide: https://developer.paypal.com/docs/subscriptions/integrate/#
Documentation: https://developer.paypal.com/docs/api/subscriptions/v1/