Skip to content

Commit

Permalink
Support channel setting: AutomaticallyCompleteFullyPaidCheckouts (#5199)
Browse files Browse the repository at this point in the history
* Regenerate graphql types

* Fetch new field from api, stub display

* add setting to mutation

* ui

* better messages

* changeset

* fix fixtures

* Include new field in channel creation

* add new event mapping and extract messages
  • Loading branch information
lkostrowski authored and Cloud11PL committed Nov 7, 2024
1 parent d72423d commit 048b0fb
Show file tree
Hide file tree
Showing 17 changed files with 1,203 additions and 69 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-elephants-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Added support for the new channel setting: `checkoutSettings.automaticallyCompleteFullyPaidCheckouts`. Setting can be changed in channel configuration page.
680 changes: 659 additions & 21 deletions introspection.json

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions locale/defaultMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2369,6 +2369,10 @@
"context": "no card defuned alert message",
"string": "You haven’t defined a gift card product!"
},
"E4GW+N": {
"context": "fully paid checkout automatically completed message",
"string": "Order created automatically from fully paid checkout"
},
"E54eoT": {
"string": "Creating the navigation structure is done by dragging and dropping. Simply create a new menu item and then drag it into its destined place. You can move items inside one another to create a tree structure and drag items up and down to create a hierarchy"
},
Expand Down Expand Up @@ -2754,6 +2758,10 @@
"context": "dialog header",
"string": "Delete Variant"
},
"GFkb2t": {
"context": "automatically complete checkouts checkbox label",
"string": "Automatically complete checkouts when fully paid"
},
"GJAX0z": {
"context": "order history message",
"string": "Order was placed"
Expand Down Expand Up @@ -6858,6 +6866,10 @@
"context": "product type name",
"string": "Type Name"
},
"hIh8bm": {
"context": "automatically complete checkouts checkbox description",
"string": "When enabled, checkouts detected as fully paid will be completed automatically, without checkoutComplete mutation. ({link})"
},
"hJDnLg": {
"context": "section header",
"string": "Upcoming Apps"
Expand Down
Loading

0 comments on commit 048b0fb

Please sign in to comment.