added stripes ids
This commit is contained in:
@@ -104,6 +104,8 @@ class SubscriptionService(BaseService):
|
|||||||
'display_name': t.display_name,
|
'display_name': t.display_name,
|
||||||
'option_name': t.option_name,
|
'option_name': t.option_name,
|
||||||
'monthly': round(t.monthly * 0.01, 2),
|
'monthly': round(t.monthly * 0.01, 2),
|
||||||
|
'stripe_product_id': t.stripe_product_id,
|
||||||
|
'stripe_price_id': t.stripe_price_id,
|
||||||
"items": SubscriptionService.subscription_items_data(t.option_name),
|
"items": SubscriptionService.subscription_items_data(t.option_name),
|
||||||
'added': t.added.isoformat() if t.added else None,
|
'added': t.added.isoformat() if t.added else None,
|
||||||
'updated': t.updated.isoformat() if t.updated else None
|
'updated': t.updated.isoformat() if t.updated else None
|
||||||
|
|||||||
Reference in New Issue
Block a user