@chevre/domain 20.4.0-alpha.17 → 20.4.0-alpha.18
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.
|
@@ -97,10 +97,17 @@ exports.invalidatePaymentUrl = invalidatePaymentUrl;
|
|
|
97
97
|
*/
|
|
98
98
|
function processVoidPayTransaction(params) {
|
|
99
99
|
return (repos) => __awaiter(this, void 0, void 0, function* () {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
let transaction;
|
|
101
|
+
// アクションID指定の場合、進行中取引検証(2023-02-24~)
|
|
102
|
+
if (typeof params.id === 'string') {
|
|
103
|
+
transaction = yield repos.transaction.findInProgressById({ typeOf: params.purpose.typeOf, id: params.purpose.id });
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
transaction = yield repos.transaction.findById({
|
|
107
|
+
typeOf: params.purpose.typeOf,
|
|
108
|
+
id: params.purpose.id
|
|
109
|
+
});
|
|
110
|
+
}
|
|
104
111
|
// 承認アクションを取得
|
|
105
112
|
let authorizeActions;
|
|
106
113
|
if (typeof params.id === 'string') {
|
package/package.json
CHANGED