saleor-apps-redis_apl/apps/taxes
Adrian Pilarczyk 416c92fb6c
feat: change the flow from OrderCreated to OrderConfirmed (#826)
* refactor: ♻️ extract order-metadata-manager

* feat: 🚧 add basic boilerplate

* feat:  add readExternalIdFromOrderMetadata

* Revert "feat:  add readExternalIdFromOrderMetadata"

This reverts commit a78d9d4597672f8605cf998a9f784aebaab27de1.

* feat:  add order-cancelled avatax adapter

* test:  add tests for AvataxOrderCancelledPayloadTransformer

* refactor: avataxId instead of externalId

* refactor: ♻️ split up webhook response

* build: ⬆️ upgrade avatax

* refactor: ♻️ extend logging in webhook response errors

* fix: 🐛 split privateMetadata and publicMetadata

* fix: 🐛 use "DEFAULT" value of companyCode for commit to work

* fix: ⚗️ fix voidTransaction type

* refactor: 🚚 order_created -> order_confirmed

* fix: 🐛 change voidReason

* build: 👷 add changeset

* refactor: 🔥 order_fulfilled webhook

* feat: Avatax metadata tax calculation date (#843)

* feat:  add metadata tax calculation date

* build: 👷 add changeset

* feat: Avatax metadata document code (#844)

* feat:  provide document code through metadata field

* build: 👷 add changeset

* refactor: ♻️ fallback to default company code for migration

* refactor: ♻️ patch order-created files and add deprecation note

* Revert "refactor: 🔥 order_fulfilled webhook"

This reverts commit fd098642735ae9d62e3a876088226bd0f108afd6.

* refactor: ♻️ patch order-fulfilled files and add deprecation note

* fix: 🐛 bring back deprecated webhooks to manifest

* feat: ⚗️ add AppWebhookMigrator (#850)

* refactor: 🚚 order_created -> order_confirmed

* refactor: 🔥 order_fulfilled webhook

* feat: ⚗️ add AppWebhookMigrator

* feat:  add mode to migrator

* feat:  add draft of run-report and migrateWebhook method

* refactor: ♻️ address feedback

* feat:  add tests and new structure

* refactor: 🔥 util

* feat:  add enable/disable webhook rollback flow

* refactor: ♻️ modify the taxes-migration flow

* refactor: ♻️ generalize document code & date resolver

* chore: 🗃️ add run-migration

* chore: 💡 update comments about migration flow

* fix: 🐛 slice document code

* refactor: ♻️ try/catch at the top level

* chore: 💡 add comments

* Update shiny-meals-wait.md

* Update soft-steaks-know.md

* Update soft-steaks-know.md

* fix:  fix test

* feat:  change createTransaction to createOrAdjustTransaction

this feature grants idempotency of the transaction flow

* feat:  add number field to OrderConfirmed payload

* chore: 💡 add deprecation comment to metadata method

* docs: 📝 add todo comment to refactor sumPayloadLines

* feat:  add resolveStringOrThrow and use it for email

* fix: 🐛 add missing number to mock
2023-08-10 13:08:20 +02:00
..
graphql feat: change the flow from OrderCreated to OrderConfirmed (#826) 2023-08-10 13:08:20 +02:00
public Add logo to apps (#552) 2023-06-14 16:05:36 +02:00
scripts/migrations feat: change the flow from OrderCreated to OrderConfirmed (#826) 2023-08-10 13:08:20 +02:00
src feat: change the flow from OrderCreated to OrderConfirmed (#826) 2023-08-10 13:08:20 +02:00
.env.example Update menifests to reflect dynamic urls from env (#695) 2023-07-03 11:57:50 +02:00
.eslintrc feat: add taxes app (#223) 2023-03-02 12:01:17 +01:00
.gitignore Setup Sentry for Taxes App (#343) 2023-03-29 12:32:34 +02:00
.graphqlrc.yml feat: change the flow from OrderCreated to OrderConfirmed (#826) 2023-08-10 13:08:20 +02:00
.npmrc feat: add taxes app (#223) 2023-03-02 12:01:17 +01:00
CHANGELOG.md Release apps (#842) 2023-08-07 17:02:13 +02:00
next-env.d.ts feat: add taxes app (#223) 2023-03-02 12:01:17 +01:00
next.config.js Sentry improvements (#652) 2023-06-20 10:06:18 +02:00
package.json feat: change the flow from OrderCreated to OrderConfirmed (#826) 2023-08-10 13:08:20 +02:00
README.md chore/replace taxes readme (#303) 2023-03-17 10:26:43 +01:00
saleor-app.ts Extract part of Semver compatibility logic to shared package and implement in Invoices and Taxes (#488) 2023-05-23 11:04:52 +02:00
sentry.client.config.ts Sentry improvements (#652) 2023-06-20 10:06:18 +02:00
sentry.edge.config.ts Sentry improvements (#652) 2023-06-20 10:06:18 +02:00
sentry.server.config.ts Sentry improvements (#652) 2023-06-20 10:06:18 +02:00
TESTING.md fix: tax code matcher QA (#680) 2023-06-28 15:03:24 +02:00
tsconfig.json feat: add taxes app (#223) 2023-03-02 12:01:17 +01:00
turbo.json Update menifests to reflect dynamic urls from env (#695) 2023-07-03 11:57:50 +02:00
vitest.config.ts feat: add taxes app (#223) 2023-03-02 12:01:17 +01:00

Saleor Taxes App

Saleor App Taxes Hub

Hub for configuring taxes in Saleor using different providers.

Documentation

Visit Taxes App documentation to learn how to configure and develop the app locally.