@aglyn/plugins-commerce 1.0.0-beta.151 → 1.0.0-beta.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -13
- package/src/lib/server/billing-webhook.js +2 -2
- package/src/lib/server/billing-webhook.js.map +1 -1
- package/src/lib/server/membership-register.js +13 -30
- package/src/lib/server/membership-register.js.map +1 -1
- package/src/lib/server/newsletter.js +4 -0
- package/src/lib/server/newsletter.js.map +1 -1
- package/src/lib/server/refund.js +1 -1
- package/src/lib/server/refund.js.map +1 -1
- package/src/lib/testing/stand-in-record-system.js +1 -0
- package/src/lib/testing/stand-in-record-system.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aglyn/plugins-commerce",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.153",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://aglyn.com",
|
|
6
6
|
"repository": {
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aglyn/aglyn": "1.0.0-beta.
|
|
29
|
-
"@aglyn/shared-data-mdi": "1.0.0-beta.
|
|
30
|
-
"@aglyn/shared-ui-jsx": "1.0.0-beta.
|
|
31
|
-
"@aglyn/shared-ui-next": "1.0.0-beta.
|
|
32
|
-
"@aglyn/shared-ui-snackstack": "1.0.0-beta.
|
|
33
|
-
"@aglyn/shared-util-email": "1.0.0-beta.
|
|
34
|
-
"@aglyn/shared-util-http": "1.0.0-beta.
|
|
35
|
-
"@aglyn/shared-util-timestamp": "1.0.0-beta.
|
|
36
|
-
"@aglyn/shared-util-tools": "1.0.0-beta.
|
|
37
|
-
"@aglyn/tenant-data-admin": "1.0.0-beta.
|
|
38
|
-
"@aglyn/tenant-feature-instance": "1.0.0-beta.
|
|
39
|
-
"@aglyn/tenant-runtime": "1.0.0-beta.
|
|
28
|
+
"@aglyn/aglyn": "1.0.0-beta.153",
|
|
29
|
+
"@aglyn/shared-data-mdi": "1.0.0-beta.153",
|
|
30
|
+
"@aglyn/shared-ui-jsx": "1.0.0-beta.153",
|
|
31
|
+
"@aglyn/shared-ui-next": "1.0.0-beta.153",
|
|
32
|
+
"@aglyn/shared-ui-snackstack": "1.0.0-beta.153",
|
|
33
|
+
"@aglyn/shared-util-email": "1.0.0-beta.153",
|
|
34
|
+
"@aglyn/shared-util-http": "1.0.0-beta.153",
|
|
35
|
+
"@aglyn/shared-util-timestamp": "1.0.0-beta.153",
|
|
36
|
+
"@aglyn/shared-util-tools": "1.0.0-beta.153",
|
|
37
|
+
"@aglyn/tenant-data-admin": "1.0.0-beta.153",
|
|
38
|
+
"@aglyn/tenant-feature-instance": "1.0.0-beta.153",
|
|
39
|
+
"@aglyn/tenant-runtime": "1.0.0-beta.153",
|
|
40
40
|
"@stripe/react-stripe-js": "^3.10.0",
|
|
41
41
|
"@stripe/stripe-js": "^5.10.0",
|
|
42
42
|
"@swc/helpers": "0.5.23",
|
|
@@ -2704,7 +2704,7 @@ async function findOrderForDispute(paymentIntentId) {
|
|
|
2704
2704
|
{
|
|
2705
2705
|
atMs: Date.now(),
|
|
2706
2706
|
event: 'line-unresolved',
|
|
2707
|
-
detail: `${unresolvedLines.length} paid ${unresolvedLines.length === 1 ? 'line' : 'lines'} could not be recorded because the product was ` + 'deleted during checkout, so this order is short of ' + 'what the shopper was charged. Refund the difference ' + 'or
|
|
2707
|
+
detail: `${unresolvedLines.length} paid ${unresolvedLines.length === 1 ? 'line' : 'lines'} could not be recorded because the product was ` + 'deleted during checkout, so this order is short of ' + 'what the shopper was charged. Refund the difference ' + 'or fulfill it by hand.'
|
|
2708
2708
|
}
|
|
2709
2709
|
] : []
|
|
2710
2710
|
]
|
|
@@ -2755,7 +2755,7 @@ async function findOrderForDispute(paymentIntentId) {
|
|
|
2755
2755
|
void notifyHostManagers(String(hostId), {
|
|
2756
2756
|
type: 'content.order',
|
|
2757
2757
|
title: 'A paid order is missing items',
|
|
2758
|
-
body: `Order ${object.id} was charged in full but ` + `${unresolvedLines.length} ${unresolvedLines.length === 1 ? 'line' : 'lines'} could not be recorded — the product was deleted during ` + 'checkout. Refund the difference or
|
|
2758
|
+
body: `Order ${object.id} was charged in full but ` + `${unresolvedLines.length} ${unresolvedLines.length === 1 ? 'line' : 'lines'} could not be recorded — the product was deleted during ` + 'checkout. Refund the difference or fulfill it by hand.',
|
|
2759
2759
|
link: `/${hostId}/products`
|
|
2760
2760
|
});
|
|
2761
2761
|
}
|