Billing agreement ID
tthai27
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-18-2017
10:01 AM
Hi,
How can i get the billing agreement ID (B-ID) from Rest Create Agreement API? I only see I-ID after calling the API.
Thanks
3 REPLIES 3
angelleye
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-19-2017
07:42 PM
Did you create a billing plan first? I think you need to create a billing plan and then pass the plan ID in when you create a billing agreement.
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
tthai27
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-20-2017
06:42 AM
Yes but theres still no B-ID for REST EC. in Paypal EC(deprecated version), it returns a B-ID
angelleye
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-21-2017
12:32 AM
Right, and then in Classic you would use DoReferenceTransaction to process the future payments. The same functionality should be available in REST but with the use of billing agreements / billing plans, or possibly just the payments API alone. I'm still using the classic APIs myself because REST does not support features I use like Guest Checkout. With billing agreements that sort of thing won't matter because you can't use Guest Checkout with them, but also the simple fact that it's all quick and easy while REST is a big cumbersome and tough to follow right now.
The Classic APIs are labeled as deprecated because they are indeed trying to get people over to REST, but they aren't going away. There are way too many people heavily integrated into those systems. If you're more comfortable with it I'd recommend you just stick with it for now.
Again, though, the same functionality should be available in REST with some similar collection of calls. Hopefully somebody else can step in and give us a tip on that. A map of calls from Classic to REST to setup billing agreements and process reference transactions would be great.
The Classic APIs are labeled as deprecated because they are indeed trying to get people over to REST, but they aren't going away. There are way too many people heavily integrated into those systems. If you're more comfortable with it I'd recommend you just stick with it for now.
Again, though, the same functionality should be available in REST with some similar collection of calls. Hopefully somebody else can step in and give us a tip on that. A map of calls from Classic to REST to setup billing agreements and process reference transactions would be great.
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- I want to implement subscription functionality. in REST APIs
- Multiple locations to same email address result in one client only. in SDKs
- Show all billing address fields when hiding shipping address fields in PayPal Payments Standard
- Enable recurring billing in sandbox account in Sandbox Environment