PaddleHQ / paddle-js-wrapper

Wrapper to load Paddle.js as a module and use TypeScript definitions when working with methods.
Apache License 2.0
28 stars 4 forks source link

[Feature]: Is there any method for upgrading existing plan/subscription in it? #35

Closed pushkarsingh32 closed 2 months ago

pushkarsingh32 commented 3 months ago

Tell us about your feature request

I would like to have user ability to upgrade their subscription/one time cost product. Is this possible? Thanks

What problem are you looking to solve?

Ability to upgrade in one click for user

Additional context

No response

How important is this suggestion to you?

Important

kieran-paddle commented 3 months ago

Thanks for the request @pushkarsingh32.

We are working on a customer portal that will have functionality similar to what you described, allowing customers to do common tasks like update their payment method, view their subscription, upgrade and downgrade it etc. This should be in early access within the next few months so until then it's best to write some logic using the subscription preview and subscription update API.

pushkarsingh32 commented 3 months ago

Okay.

Thing is on your upgrade subscription doc we need to send subscription id.

It makes sense for subscription product.

But how things will work when there is no subscription id ( for one time cost product) as it come null. Thanks

vijayasingam-paddle commented 3 months ago

Hi @pushkarsingh32, I think there is some confusion here.

Subscriptions are like memberships where you pay regularly for ongoing access. You can upgrade to get more features. However, One-time products are bought once and cannot be upgraded or downgraded.

Please let us know if you need any other information.