paddle-python/paddle-client

Documentation Enhancement

Closed this issue · 2 comments

It's not really clear how to create a subscription and let a user approve it. I see there are only update_subscription and cancel_subscription. So how can I create a subscription first? A code sample would be appreciated.

Hi @slado122

This reply is a little late as I missed the Github notification, sorry about that.

I don't believe it's possible to create subscriptions or take payments via the Paddle API which by extension means it's not possible to do so via this wrapper.

The best way to allow a user to create and pay for a subscription is using the Paddle Checkout. Hopefully the application you are making is either web based or supports Javascript.

If you are using Django check out dj-paddle which helps you both setup the Paddle Checkout as well as helps create endpoints for paddle webhooks.

Hope that helps.

Matt

Thanks a lot.