Release 0.1.13: Yalidine deliveryFeeOnRecipient
Merged
DE
1d ago+158+158+012345678901234567890123456789-10-10-01234567890123456789
Summary
- New optional
ParcelInput.deliveryFeeOnRecipient(TypeScript + PHP). - Yalidine / GuepEx:
trueāfreeshipping: false, the recipient pays the delivery fee on top ofprice(goods only). Omitted /falseāfreeshipping: trueas before (backward compatible). - Fixes merchants whose parcels were rejected (
VALIDATION_ERROR) because the fee was always charged to their balance. - TS validates the field is a boolean. Docs: CONTRACT, PROVIDERS, PHP guide, CHANGELOG. Version bumped to 0.1.13.
Test plan
- PHPUnit: 559 tests pass (new test for
freeshipping: false) - Vitest: 302 tests pass (default / false / true cases),
tsc --noEmitclean
š¤ Generated with Claude Code
Summary by cubic
Adds an optional deliveryFeeOnRecipient field to ParcelInput (TypeScript and PHP) so Yalidine and GuepEx merchants can charge the delivery fee to the recipient instead of paying it from their own balance.
truesendsfreeshipping: false, so the recipient pays the delivery fee on top ofprice(goods only); omitted orfalsekeeps the previousfreeshipping: truebehavior.- Fixes merchants whose parcels were rejected with
VALIDATION_ERRORbecause the fee was always charged to their balance. - TypeScript requires a boolean; PHP also accepts the strings
"true"/"false"/"1"/"0"and rejects anything else withVALIDATION_ERROR. Other carriers ignore the field. Version bumped to 0.1.13.