@chevre/domain 21.8.0-alpha.4 → 21.8.0-alpha.5
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.
|
@@ -134,12 +134,10 @@ function createConfirmPayTransactionTasks(order, simpleOrder) {
|
|
|
134
134
|
.toDate();
|
|
135
135
|
const tasks = [];
|
|
136
136
|
yield Promise.all(order.paymentMethods.map((invoice) => __awaiter(this, void 0, void 0, function* () {
|
|
137
|
-
//
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
// return;
|
|
142
|
-
// }
|
|
137
|
+
// PaymentAutomaticallyAppliedであれば、自動決済処理を実行(2023-08-24~)
|
|
138
|
+
if (invoice.paymentStatus !== factory.paymentStatusType.PaymentAutomaticallyApplied) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
143
141
|
// 冗長なタスク作成を回避
|
|
144
142
|
const existingTasks = yield repos.task.search({
|
|
145
143
|
limit: 1,
|
package/package.json
CHANGED