-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Feature] Automagic Invoices #197
Comments
What would the payment links look like? I assume you will get some URL that looks like How will you handle expiration of URL/invoice? How will you deal with accidental double payments because Stripe's webhooks are delayed? |
I was more thinking that you get a link like |
The reason I am asking this is because Stripe also have an invoice service, which could prevent us from abusing However, that requires a bit more setup and has some other issues that are difficult or impossible to solve (e.g. generic treasurer e-mail address instead of BAC treasurer). So I think your suggestion is preferable but requires proper testing to ensure it cannot break. |
We have decided to implement this all within SudoSOS, but it will require some extra work and things to keep in mind:
|
What would you like?
Create automatic invoices for enabled users. These invoices will be more like receipts and should make it easier for the BACPM.
Why is this needed?
How could it be implemented?
Automatic invoices will be separate from normal invoices. The BACPM can still make manual invoices (for things such as CEB account).
The implementation will be that automatic invoices should be counted in the "transactionOverview" where as manual invoices are not. This could be tricky, so this should be done carefully.
We can use an internal reference on the invoice (SUDOSOSXXXX) which will make it clear that it is an automatic invoice. It was also suggested that an automatic invoice also create a "paymentRequest" from stripe such that an account can instantly pay using stripe. This will allow us to send payment links (hopefully that doesn't kill our spam score)
But the main gist is to turn automatic invoices into automatic "receipts" which will be paid for through SudoSOS. This also means that they do not have to be incorporated into the BAC bookkeeping as they will be reported within the transactionOverview.
Other information
No response
The text was updated successfully, but these errors were encountered: