Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the create plan request up to date? #253

Open
cetetesoft opened this issue Oct 10, 2021 · 0 comments
Open

Is the create plan request up to date? #253

cetetesoft opened this issue Oct 10, 2021 · 0 comments

Comments

@cetetesoft
Copy link

cetetesoft commented Oct 10, 2021

The URL should be /payments/billing/plans' instead of /payments/billing-plans'.

In addition, required parameters are now product_id, name, billing_cycles, and payment_preferences. And there are no such parameters as type, payment_definitions, or merchant_preferences.

I can submit a PR to fix these and other requests, but I don't know if the existing ones are still somehow in use and must be preserved. I'm new to PayPal REST APIs.

Here's the reference:
https://developer.paypal.com/docs/api/subscriptions/v1/#plans_create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant