BILLING_ASYNC_BILL_TRANSACTION set to ON
MODIFY
src/utils/FeatureToggles.ts
src/utils/FeatureToggles.ts
@@ -22,7 +22,7 @@ export default class FeatureToggles {
Feature.BILLING_CHECK_USER_DEFAULT_PAYMENT_METHOD,
// Feature.BILLING_ITEM_WITH_PARKING_TIME,
Feature.BILLING_ITEM_WITH_START_DATE,
- // Feature.BILLING_ASYNC_BILL_TRANSACTION,
+ Feature.BILLING_ASYNC_BILL_TRANSACTION,
];
// Check whether the feature is active or not!

MODIFY
test/api/BillingTest.ts
test/api/BillingTest.ts
@@ -160,7 +160,7 @@ class TestData {
}
if (FeatureToggles.isFeatureActive(Feature.BILLING_ASYNC_BILL_TRANSACTION)) {
// Give some time to the asyncTask to bill the transaction
- await new Promise((resolve) => setTimeout(resolve, 1000));
+ await new Promise((resolve) => setTimeout(resolve, 3000));
}
return transactionId;
}

BILLING_ASYNC_BILL_TRANSACTION set to ON