Skip to content

Commit 015e9f3

Browse files
committed
Enhance documentation for Merchant Fee Deductible interface
- 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.
1 parent 251408b commit 015e9f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/guide/purchases/gift.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ $item->balance; // 0
115115

116116
The first user buys the product and gives it.
117117

118-
> If the product uses the `Taxable` interface, then Santa will pay tax
118+
> If the product uses the `Taxable` interface, then Santa will pay tax.
119+
> If the product uses the `MerchantFeeDeductible` interface, the fee is deducted from the merchant's payout instead.
119120
120121
```php
121122
$first->gift($last, $item);

docs/guide/purchases/merchant-fee-deductible.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ $item->balance; // 0
222222

223223
## Direct Transfers
224224

225-
When transferring directly to a wallet that implements `MerchantFeeDeductible`, the fee is deducted from the recipient's deposit.
225+
When transferring directly to a product that implements `MerchantFeeDeductible`, the fee is deducted from the recipient's deposit.
226226

227227
```php
228228
$user = User::first();

0 commit comments

Comments
 (0)