@pisell/pisellos 0.0.441 → 0.0.443
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.
|
@@ -4103,17 +4103,23 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
4103
4103
|
payment_status: latestPaymentStatus
|
|
4104
4104
|
});
|
|
4105
4105
|
case 81:
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4106
|
+
_context40.next = 83;
|
|
4107
|
+
return this.core.effects.emit("".concat(this.name, ":onOrderSynced"), {
|
|
4108
|
+
orderUuid: orderUuid,
|
|
4109
|
+
realOrderId: realOrderId,
|
|
4110
|
+
virtualOrderId: orderUuid,
|
|
4111
|
+
timestamp: Date.now(),
|
|
4112
|
+
isManual: false,
|
|
4113
|
+
response: checkoutResponse,
|
|
4114
|
+
isFormRepair: true
|
|
4110
4115
|
});
|
|
4116
|
+
case 83:
|
|
4111
4117
|
return _context40.abrupt("return", {
|
|
4112
4118
|
success: true,
|
|
4113
4119
|
orderId: realOrderId,
|
|
4114
4120
|
response: checkoutResponse
|
|
4115
4121
|
});
|
|
4116
|
-
case
|
|
4122
|
+
case 84:
|
|
4117
4123
|
case "end":
|
|
4118
4124
|
return _context40.stop();
|
|
4119
4125
|
}
|
|
@@ -2596,8 +2596,14 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
2596
2596
|
await this.payment.updateOrderAsync(orderUuid, {
|
|
2597
2597
|
payment_status: latestPaymentStatus
|
|
2598
2598
|
});
|
|
2599
|
-
this.core.effects.emit(`${this.name}:
|
|
2600
|
-
orderUuid
|
|
2599
|
+
await this.core.effects.emit(`${this.name}:onOrderSynced`, {
|
|
2600
|
+
orderUuid,
|
|
2601
|
+
realOrderId,
|
|
2602
|
+
virtualOrderId: orderUuid,
|
|
2603
|
+
timestamp: Date.now(),
|
|
2604
|
+
isManual: false,
|
|
2605
|
+
response: checkoutResponse,
|
|
2606
|
+
isFormRepair: true
|
|
2601
2607
|
});
|
|
2602
2608
|
return {
|
|
2603
2609
|
success: true,
|