Merge branch 'feature/6561/link-billlineitem-with-stripeplan'

This commit is contained in:
PCoder 2019-04-20 14:13:47 +02:00
commit 3fbc4528d9

View file

@ -348,7 +348,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model):
stripe_plan_id = item.plan.id stripe_plan_id = item.plan.id
try: try:
stripe_plan = StripePlan.objects.get( stripe_plan = StripePlan.objects.get(
stripe_plan_name=stripe_plan_id stripe_plan_id=stripe_plan_id
) )
except StripePlan.DoesNotExist as dne: except StripePlan.DoesNotExist as dne:
logger.error( logger.error(