-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Store Refund - Add more disable scenerios & time to disable refund. #34671
Conversation
… Disables refund on action use.
…e current time before disabling refund
…und for more consistency and easier tracking
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works, just minor stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
1 maint approval + 1 PM making PR = merg |
About the PR
Added more routes for us to disable refunds after some entity events and so a time can be provided to disable events instead of just relying on the grid.
Why / Balance
Just relying on grid changes is not great and is really mostly for the wizard.
As an extra security measure we also now check if the allotted time has passed before also disabling refunds & checking grid.
Technical details
Method was made to check if we should disable refunds.
Subscriptions to events for using an item, using an action, and shooting a gun were added so we can disable refunds.
Media
Requirements
Breaking changes
Removed action check from refund disable method, so we can disable refund on action use.
Refund disable method now checks grid & if the time is eligible.
Changelog