Michał Miszczyszyn
|
b108460435
|
Add types for payment webhooks (#212)
* Add types for payment webhooks
* Add transaction webhooks
* Update responses for transactions
* Create .changeset/gold-buses-warn.md
* Simplify returned values for some webhooks
* Update changesets
---------
Co-authored-by: Lukasz Ostrowski <lukasz@monolog.tech>
|
2023-03-30 14:23:12 +02:00 |
|
Lukasz Ostrowski
|
e35d9c7fc1
|
Add comment to typed payload
|
2023-03-07 12:21:54 +01:00 |
|
Lukasz Ostrowski
|
0f750657cf
|
export SyncWebhookResponsesMap
|
2023-03-07 12:21:54 +01:00 |
|
Lukasz Ostrowski
|
f5643fba6b
|
Update expected payloads
|
2023-03-07 11:02:37 +01:00 |
|
Lukasz Ostrowski
|
9420209a2d
|
Add sync webhook (#202)
* Change process-async-saleor-webhook to process-saleor-webhook and add better debug logs
* Change processWebhook name
* wip
* Add base class structure
* refactor
* add sync payload builder
* wip
* wip
* Add some missing webhook responses
* Fix tests for Async version
* Fix tests
* Add MockAPL test util
* Refactor tests to use MockAPL
* Add test to sync webhook
* Restore legacy subscriptionQueryAst field for compatibility
* CR Fixes - TS type & event -> eventType
* Changelog, docs and remove old payment webhooks
* Apply suggestions from code review
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* Update src/handlers/next/saleor-webhooks/process-saleor-webhook.ts
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
---------
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
|
2023-03-06 15:01:22 +01:00 |
|