/v1/payments/billing-plans or /v1/billing/plans ?

Clodo76
New Community Member

I'm working on an updated version of the e-commerce of a big customers (that use an old e-commerce solution).

No shipping, digital/software service.

I successfully implement the "express-checkout", now i'm trying to understand the subscription/recurring.

 

1) What is the correct/latest API?

/v1/payments/billing-plans described here: https://developer.paypal.com/docs/api/payments.billing-plans/v1/#billing-plans_create

or

/v1/billing/plans described here: https://developer.paypal.com/docs/limited-release/subscriptions/integrate/#2-create-a-plan


If /v1/billing/plans,

2) When an user join a subscription, they need to pay an amount X (always variable for partners/discounts/coupons/promotions/etc) for the first time-period and will pay the amount Y the successive time-period (generally monthly).

But the "trial" definition are in the "/v1/billing/plans", not in the "/v1/billing/subscriptions"... i can't build plans for any combination... what is the correct direction?

 

Thanks for any feedback.

 

Login to Me Too
1 REPLY 1

PhilippMZ
Contributor
Contributor

I think they messed up there product completely. 

 

You should use nowadays 2) according to the support. Unfortunately the new API is not documented.

 

Do you know how to retrieve all PLAN's?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.