Skip to content

Conversation

@rez1dent3
Copy link
Member

@rez1dent3 rez1dent3 commented Nov 17, 2025

…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.
- Introduced a new section in the commissions guide explaining the Merchant Fee Deductible interface.
- Updated the Vitepress configuration to include a link to the new documentation page for easy navigation.
- Clarified the difference in fee handling between the default Taxable interface and the Merchant Fee Deductible option.
@rez1dent3 rez1dent3 self-assigned this Nov 17, 2025
@rez1dent3 rez1dent3 added docs 11.x-dev enhancement New feature or request labels Nov 17, 2025
- Added clarification in the gift documentation regarding tax and fee deductions when using the MerchantFeeDeductible interface.
- Updated the merchant fee deductible guide to specify that the fee is deducted from the recipient's deposit when transferring directly to a product implementing the interface.
@rez1dent3 rez1dent3 merged commit 33d4e61 into master Nov 17, 2025
74 of 101 checks passed
@rez1dent3 rez1dent3 deleted the merchant-docs 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 docs enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants