@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
- // tslint:disable-next-line:no-suspicious-comment
138
- // TODO 注文にpaymentStatusを保証した後に実装する
139
- // PaymentAutomaticallyAppliedであれば、自動決済処理を実行
140
- // if (invoice.paymentStatus !== factory.paymentStatusType.PaymentAutomaticallyApplied) {
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
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.8.0-alpha.4"
120
+ "version": "21.8.0-alpha.5"
121
121
  }