issues
search
augustin-wien
/
augustina-backend
An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7
stars
0
forks
source link
Transaction cost logic
#51
Closed
jofmi
closed
1 year ago
jofmi
commented
1 year ago
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
Add a query CreatePayedOrderEntries that can be used to add entries to an order with an associated payment (meant for adding transaction cost entries)
VerifyOrderAndCreatePayments is adapted so that it does not create a payment twice if CreatePayedOrderEntries is called BEFORE verifying an order
Checklist:
[x] I have commented my code (or ChatGPT did), particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings, neither in my IDE nor in my browser
[x] I have added tests that prove my fix is effective or that my feature works
Type of change
Description
Checklist: