ejosterberg/opensalestax-sylius
OstaxClient::calculateWithShipping(). New facade
method on OstaxClient that calls /v1/calculate with both a single
line item AND a top-level first-class shipping segment (engine
v0.59.0+ via ejosterberg/opensalestax v0.3.0). Returns the engine's
full CalculateResponse including the populated
$shipping->taxAmount so the strategy can surface shipping tax as a
separate adjustment. Not yet wired into OstaxTaxationStrategy —
the strategy currently iterates per-OrderItemUnit, and surfacing
shipping tax requires adding a separate order-level adjustment path
(deferred to a follow-up release). Merchants who need shipping tax
today can call OstaxClient::calculateWithShipping() directly from
custom code.ejosterberg/opensalestax constraint from ^0.2.0 to
^0.3.0. Picks up the new third arg on Client::calculate(addr, lines, shipping?) plus the CalculateResponse::$shipping and
$coverageWarning response fields. Backward compatible — no
behavior change at the strategy level.null shipping on this SDK version when older
engine builds (pre-v0.59.0) silently ignore the field. Flag-gate
via OstaxClient::sdk->capabilities()->features->shippingFirstClass
if you need to detect this at setup time.ejosterberg/opensalestax constraint to ^0.2.0.
Picks up the new OpenSalesTax\Client::capabilities() /
OpenSalesTax\Client::capabilitiesCached() helpers for engine v0.59.0's
/v1/capabilities endpoint. No merchant-visible behavior change in
this release — the helper is available to connector code but not yet
wired into any feature path. Constraint bump only; Test Connection
surface enrichment deferred to v-next.OstaxCalculator implementing Sylius\Component\Taxation\Calculator\CalculatorInterface.OstaxTaxationStrategy implementing Sylius\Component\Core\Taxation\Strategy\TaxCalculationStrategyInterface.OstaxClient wrapper around ejosterberg/opensalestax PHP SDK.OstaxConfig validated value-object built from the bundle's
opensalestax_sylius: config block.OstaxCache PSR-6-backed memoization (60-min default TTL).fail_hard: true opts into throwing.nexus_states: ['MN', 'WI']) — mirrors
the WooCommerce v0.5.0 / Vendure v1.2 sibling pattern.AbstractBundle-style extension +
config tree).^1.13How can I help you explore Laravel packages today?