Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit e9eff0c

Browse files
refactor: move comment
1 parent b1db114 commit e9eff0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/billing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ def list_filtered_invoices(self, owner: Owner, limit=10):
148148
)
149149
return list(invoices_filtered_by_status_and_total)
150150

151-
# cancels a Stripe customer subscription immediately and attempts to refund their payments for the current period
152151
def cancel_and_refund(
153152
self,
154153
owner,
155154
current_subscription_datetime,
156155
subscription_plan_interval,
157156
autorefunds_remaining,
158157
):
158+
# cancels a Stripe customer subscription immediately and attempts to refund their payments for the current period
159159
stripe.Subscription.cancel(owner.stripe_subscription_id)
160160

161161
start_of_last_period = current_subscription_datetime - relativedelta(months=1)

0 commit comments

Comments
 (0)