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

reserve fee amount in database #391

Closed
wants to merge 4 commits into from
Closed

reserve fee amount in database #391

wants to merge 4 commits into from

Conversation

kiwiidb
Copy link
Contributor

@kiwiidb kiwiidb commented Jun 30, 2023

This PR adds the maximum fee a user can pay to the amount that is debited from their account.
In case of a succesful payment, this provisional max amount is credited to their balance again.
In case of a failed payment, the transaction entry is reversed anyway, but I had to change this to use the right amount (the one from the entry to reverse, which was the same as the invoice amount up until now, but will be different now).

To do:

  • Add integration test
  • Make demo video about issue & fix

@kiwiidb kiwiidb requested a review from bumi June 30, 2023 10:01
@kiwiidb
Copy link
Contributor Author

kiwiidb commented Jul 8, 2023

Replaced by #395

@kiwiidb kiwiidb closed this Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant