Skip to content
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(dunning): Create payment request #2441

Merged
merged 3 commits into from
Aug 21, 2024
Merged

feat(dunning): Create payment request #2441

merged 3 commits into from
Aug 21, 2024

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented Aug 20, 2024

Context

We want to be able to manually request payment of the overdue balance and send emails for reminders.

https://getlago.canny.io/feature-requests/p/send-reminders-for-overdue-invoices

Description

The goal of this PR is to:

  • create the payable group for the overdue invoices
  • create the payment request for the payable group
  • send the payment_request.created webhook

on the payment request creation service

@rsempe rsempe added the Payment label Aug 20, 2024
@rsempe rsempe force-pushed the feat-dunning branch 3 times, most recently from 1450377 to f819d9b Compare August 20, 2024 13:00
Copy link
Contributor

@ancorcruz ancorcruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left 2 comments but it looks good to me!

app/services/payment_requests/create_service.rb Outdated Show resolved Hide resolved
@rsempe rsempe merged commit 58096ef into main Aug 21, 2024
6 checks passed
@rsempe rsempe deleted the feat-dunning branch August 21, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants