@chevre/domain 22.9.0-alpha.48 → 22.9.0-alpha.49
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.
|
@@ -37,9 +37,10 @@ function payCreditCard(params) {
|
|
|
37
37
|
if (typeof sellerId !== 'string') {
|
|
38
38
|
throw new factory.errors.ArgumentNull('recipient.id');
|
|
39
39
|
}
|
|
40
|
+
const requirePaymentAccepted = false;
|
|
40
41
|
const { shopId, shopPass } = yield (0, getGMOInfoFromSeller_1.getGMOInfoFromSeller)({
|
|
41
42
|
paymentMethodType, seller: { id: sellerId }, paymentServiceId,
|
|
42
|
-
requirePaymentAccepted
|
|
43
|
+
requirePaymentAccepted
|
|
43
44
|
})(repos);
|
|
44
45
|
const action = yield repos.action.start(params);
|
|
45
46
|
const alterTranResults = [];
|
|
@@ -43,10 +43,10 @@ function refundCreditCard(params
|
|
|
43
43
|
const paymentMethodId = (_b = params.object[0]) === null || _b === void 0 ? void 0 : _b.paymentMethod.paymentMethodId;
|
|
44
44
|
const paymentServiceId = (_c = params.object[0]) === null || _c === void 0 ? void 0 : _c.id;
|
|
45
45
|
let requirePayAction = false;
|
|
46
|
-
|
|
46
|
+
const requirePaymentAccepted = false;
|
|
47
47
|
if (purpose.typeOf === factory.actionType.ReturnAction) {
|
|
48
48
|
requirePayAction = true;
|
|
49
|
-
requirePaymentAccepted = true;
|
|
49
|
+
// requirePaymentAccepted = true;
|
|
50
50
|
}
|
|
51
51
|
// 本アクションに対応するPayActionを取り出す(Cinerino側で決済していた時期に関してはpayActionが存在しないので注意)
|
|
52
52
|
let payAction;
|
package/package.json
CHANGED