mirror of https://github.com/zulip/zulip.git
stripe: Properly convert Period object to CreateParamsPeriod dict.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
228ade86be
commit
9ca64b21f3
|
@ -3460,7 +3460,10 @@ class BillingSession(ABC):
|
|||
currency=invoice_item.currency,
|
||||
customer=stripe_invoice.customer,
|
||||
description=invoice_item.description,
|
||||
period=invoice_item.period,
|
||||
period={
|
||||
"start": invoice_item.period.start,
|
||||
"end": invoice_item.period.end,
|
||||
},
|
||||
**price_args,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue