mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
corporate: Update stripe create_balance_transaction description.
This commit is contained in:
committed by
Tim Abbott
parent
1f1f1b913b
commit
a00e687d02
@@ -2525,7 +2525,7 @@ def switch_realm_from_standard_to_plus_plan(realm: Realm) -> None:
|
||||
standard_plan.customer.stripe_customer_id,
|
||||
amount=-1 * amount_to_credit_back_to_realm,
|
||||
currency="usd",
|
||||
description="Credit from early termination of Standard plan",
|
||||
description="Credit from early termination of active plan",
|
||||
)
|
||||
switch_plan_tier(standard_plan, CustomerPlan.PLUS)
|
||||
invoice_plan(standard_plan, plan_switch_time)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"credit_note": null,
|
||||
"currency": "usd",
|
||||
"customer": "cus_NORMALIZED0001",
|
||||
"description": "Credit from early termination of Standard plan",
|
||||
"description": "Credit from early termination of active plan",
|
||||
"ending_balance": -7200,
|
||||
"id": "cbtxn_NORMALIZED00000000000001",
|
||||
"invoice": null,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"credit_note": null,
|
||||
"currency": "usd",
|
||||
"customer": "cus_NORMALIZED0001",
|
||||
"description": "Credit from early termination of Standard plan",
|
||||
"description": "Credit from early termination of active plan",
|
||||
"ending_balance": -7200,
|
||||
"id": "cbtxn_NORMALIZED00000000000001",
|
||||
"invoice": null,
|
||||
|
||||
@@ -3577,7 +3577,7 @@ class StripeTest(StripeTestCase):
|
||||
self.assertEqual(cb_txn.amount, -7200)
|
||||
self.assertEqual(
|
||||
cb_txn.description,
|
||||
"Credit from early termination of Standard plan",
|
||||
"Credit from early termination of active plan",
|
||||
)
|
||||
self.assertEqual(cb_txn.type, "adjustment")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user