taxjar / taxjar-magento2-extension

Magento 2 Sales Tax Extension by TaxJar
http://www.taxjar.com/guides/integrations/magento2/
Open Software License 3.0
22 stars 30 forks source link

fix: SyncRefund config check #303

Closed sethobey closed 2 years ago

sethobey commented 2 years ago

Context

Merchant reported issue with out-of-scope refunds syncing to TaxJar

Description

A check that was previously added to the Order sync observer has now been added to the refund sync observer.

Performance

N/A

Testing

  1. Enable transaction sync globally and disable transaction sync for a website scope
  2. Place an order with a customer under the disabled site's scope.
  3. Observe order does not sync
  4. Create credit memo
  5. Observer credit memo does not sync

Versions