paypal / PayPal-NET-SDK

.NET SDK for PayPal's RESTful APIs
https://developer.paypal.com
Other
536 stars 462 forks source link

[SDK 2.0.0-rc2] GET BillingAgreement misses Plan ID #415

Closed kanadaj closed 4 years ago

kanadaj commented 5 years ago

General information

Issue description

The documentation of the BillingAgreement GET request on paypal.com is a bit misleading - there is no actual Id included in the Plan element, so the RC version of the SDK cannot populate the Id field of the PlanWithId Plan property of an Agreement. Do note that while this is an upstream issue, the current stable version parses the plan body (since that is returned by the API) thus it was less of a problem before.

In short: https://developer.paypal.com/docs/api/payments.billing-agreements/v1/#billing-agreements_get returns a Plan object without it's ID. The 2.0.0-rc2 expects only an Plan ID.

kanadaj commented 5 years ago

Related issue: https://github.com/paypal/PayPal-REST-API-issues/issues/92

kanadaj commented 4 years ago

@jaypatel512

sucithrashanu commented 4 years ago

@kanadaj

Currently we do not have any stipulated timeline for the v2.0.0 release, but it may be available in near future.

Please Check PayPal Community and  MTS

Thanks!