diff --git a/pay-api/src/pay_api/services/payment_account.py b/pay-api/src/pay_api/services/payment_account.py index d71c7e292..c39485c3b 100644 --- a/pay-api/src/pay_api/services/payment_account.py +++ b/pay-api/src/pay_api/services/payment_account.py @@ -197,9 +197,9 @@ def _check_and_update_statement_settings(cls, payment_account: PaymentAccountMod auth_account_id = str(payment_account.auth_account_id) statements_settings: StatementSettingsModel = StatementSettingsModel.find_latest_settings(auth_account_id) + PaymentAccount._check_and_update_statement_notifications(payment_account) if statements_settings is not None and statements_settings.frequency != StatementFrequency.MONTHLY.value: StatementSettings.update_statement_settings(auth_account_id, StatementFrequency.MONTHLY.value) - PaymentAccount._check_and_update_statement_notifications(payment_account) @classmethod def _check_and_update_statement_notifications(cls, payment_account: PaymentAccountModel):