[x] New feature (non-breaking change which adds functionality)
Description
IMPORTANT TO KNOW
This PR has not been tested at all yet and relies on several assumptions. Several tests need to be done in production once this is merged.
CHANGES
Add a transaction costs item in database setup
Add logic to the transaction price webhook
Add transaction payments in database
Add hardcoded version of Paypal transaction costs
Should be replaced or figured out if transaction costs can be received via Paypal API and located to specific Order via OrderCode sent by transactionMessage or something
TODO
Add tests to handlers_test.go for this webhook
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
[ ] I have added tests that prove my fix is effective or that my feature works
Type of change
Description
IMPORTANT TO KNOW
This PR has not been tested at all yet and relies on several assumptions. Several tests need to be done in production once this is merged.
CHANGES
TODO
handlers_test.go
for this webhookChecklist: