Skip to content

Conversation

@rez1dent3
Copy link
Member

  • Added support for deducting fees from merchant payouts in PrepareService and HasGift trait.
  • Introduced MerchantFeeDeductible interface to determine fee handling based on the product type.
  • Updated transaction calculations to ensure correct amounts for both customer withdrawals and merchant deposits.
  • Enhanced code clarity with comments explaining the fee deduction logic.

…trait

- Added support for deducting fees from merchant payouts in PrepareService and HasGift trait.
- Introduced MerchantFeeDeductible interface to determine fee handling based on the product type.
- Updated transaction calculations to ensure correct amounts for both customer withdrawals and merchant deposits.
- Enhanced code clarity with comments explaining the fee deduction logic.
…uctible and MerchantFeeDeductibleTest

- Updated PHPDoc annotations to use 'list<string>' for fillable properties in ItemMerchantFeeDeductible.
- Enhanced type hints in MerchantFeeDeductibleTest for better clarity and maintainability.
- Removed unnecessary assertions and whitespace for cleaner test code.
@rez1dent3 rez1dent3 linked an issue Nov 17, 2025 that may be closed by this pull request
@rez1dent3 rez1dent3 added enhancement New feature or request 11.x-dev labels Nov 17, 2025
@rez1dent3 rez1dent3 self-assigned this Nov 17, 2025
@rez1dent3 rez1dent3 mentioned this pull request Nov 17, 2025
@rez1dent3 rez1dent3 merged commit f37eedc into master Nov 17, 2025
92 of 101 checks passed
@rez1dent3 rez1dent3 deleted the merchant branch November 17, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

11.x-dev enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement “Merchant Fee Deduction” Feature (Better Name Needed)

2 participants