Skip to content

Commit e7dbe96

Browse files
committed
Merge branch 'develop' into 'main'
chore: Update family and enterprise plan id See merge request locker/api-core!583
2 parents d97d0a1 + c564ed4 commit e7dbe96

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

locker_server/shared/external_services/payment_method/impl/stripe_method.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ def __reformatting_stripe_plan_id(plan_type: str, duration: str):
3737
real_stripe_plans["pm_premium_monthly"] = "locker_pm_premium_monthly"
3838
real_stripe_plans["pm_family_yearly"] = "locker_pm_family_yearly"
3939
elif os.getenv("PROD_ENV") == "prod":
40-
real_stripe_plans["pm_family_yearly"] = "locker_pm_family_yearly"
40+
real_stripe_plans["pm_enterprise_monthly"] = "lk_pm_enterprise_monthly"
41+
real_stripe_plans["pm_enterprise_yearly"] = "lk_pm_enterprise_yearly"
4142
real_stripe_plans["pm_premium_monthly"] = "locker_pm_premium_monthly"
43+
real_stripe_plans["pm_family_yearly"] = "lk_pm_family_yearly"
4244

4345
return real_stripe_plans.get(stripe_plan_id, stripe_plan_id)
4446

0 commit comments

Comments
 (0)