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

cancellation_effective_date missing in subscription model #40

Open
DonvdH opened this issue Sep 9, 2022 · 0 comments
Open

cancellation_effective_date missing in subscription model #40

DonvdH opened this issue Sep 9, 2022 · 0 comments

Comments

@DonvdH
Copy link

DonvdH commented Sep 9, 2022

Paddle provides a cancellation_effective_date field which is currently missing in the subscription model:
https://developer.paddle.com/webhook-reference/3c0355dc446b0-subscription-cancelled
"The date the cancellation should come into effect, taking the customer’s most recent payment into account. The customer should be able to use the service they've subscribed to up until this date."

This is an important field because it is otherwise unknown how long the service should still be provided after cancellation.

Required line to be added in models.py under 'class Subscription(PaddleBaseModel):':
cancellation_effective_date = models.DateTimeField(null=True, blank=True)

denibertovic added a commit to denibertovic/dj-paddle that referenced this issue Dec 15, 2022
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