From cfb52a2ebab42fc9ab6f12d7eba419e9f5c91560 Mon Sep 17 00:00:00 2001
From: Son NK <>
Date: Mon, 12 Apr 2021 10:14:35 +0200
Subject: [PATCH] add price mention on billing page
---
app/dashboard/templates/dashboard/billing.html | 2 +-
app/paddle_utils.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/dashboard/templates/dashboard/billing.html b/app/dashboard/templates/dashboard/billing.html
index 53585b09..2130356a 100644
--- a/app/dashboard/templates/dashboard/billing.html
+++ b/app/dashboard/templates/dashboard/billing.html
@@ -46,7 +46,7 @@
Change Plan
You can change the plan at any moment.
Please note that the new billing cycle starts instantly
- i.e. you will be charged immediately the annual fee when switching from monthly plan or vice-versa
+ i.e. you will be charged immediately the annual fee ($30) when switching from monthly plan or vice-versa
without pro rata computation .
To change the plan you can also cancel the current one and subscribe a new one by the end of this plan.
diff --git a/app/paddle_utils.py b/app/paddle_utils.py
index 22398cd4..3b3bb7fd 100644
--- a/app/paddle_utils.py
+++ b/app/paddle_utils.py
@@ -61,7 +61,7 @@ def verify_incoming_request(form_data: dict) -> bool:
return False
-def cancel_subscription(subscription_id: int) -> bool:
+def cancel_subscription(subscription_id: str) -> bool:
r = requests.post(
"https://vendors.paddle.com/api/2.0/subscription/users_cancel",
data={