Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
406 views
in Technique[技术] by (71.8m points)

python 3.x - PayPal API: Created billing plans do not appear in dashboard

I created a Billing Plan with the API endpoint like described in the official api docs. I create it by the endpoint:

POST: /v1/payments/billing-plans

I can now see it with

GET: /v1/payments/billing-plans

But it is not shown in my PayPal dashboard after login to PayPal in my browser. And the billing plans created in my django dashboard in the browser are not found by the API.

Does somebody have an idea what could be wrong? Or are they really separated? Would not make sense to me.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Ok, got it.

 /v1/payments/billing-plans

is deprecated.

Just use

/v1/billing/plans

Like described here: https://developer.paypal.com/docs/subscriptions/integrate/

If you use one of the v1 SDKs, you have to change the endpoint. Or use plain API calls, because the subscription api calls do not seem to be implemented in the new SDK yet


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...