-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Feat ] Cobranca assinatura premium #243
Conversation
Co-authored-by: Paulo Henrique Meneses <[email protected]>
Co-authored-by: Paulo Henrique Meneses <[email protected]> Co-authored-by: Eliseu Ramos <[email protected]> Co-authored-by: Caique Arruda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tá premium essa.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parabéns, pessoal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conversando com o PH, vimos que essa não é a branch correta para mergear. Vou colocar um Request Changes pra bloquear o merge até isso ser resolvido :)
def set_billing_date | ||
return self.billing_date = subscription.start_date if subscription.start_date.day < 29 | ||
|
||
self.billing_date = subscription.start_date.next_month.beginning_of_month |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Galera, essa linha ficou sem cobertura de testes. Ela é realmente necessária pro código?
Desativei esse PR, pois subi a branch incorreta |
Essa PR abrange e resolve #238
Eu como usuário, recebo mensalmente cobrança da assinatura premium assim que a ativo, a fim de ser lembrado do pagamento.