pricing - no model ==> old way
MODIFY
src/integration/pricing/simple-pricing/BuiltInPricingIntegration.ts
src/integration/pricing/simple-pricing/BuiltInPricingIntegration.ts
@@ -29,7 +29,9 @@ export default class BuiltInPricingIntegration extends PricingIntegration<Simple
public async stopSession(transaction: Transaction, consumptionData: Consumption): Promise<PricedConsumption> {
const pricedConsumption = await this.computePrice(transaction, consumptionData);
+ if (transaction.pricingModel) {
pricedConsumption.pricingConsumptionData = await PricingEngine.priceFinalConsumption(this.tenant, transaction, consumptionData);
+ }
return Promise.resolve(pricedConsumption);
}

pricing - no model ==> old way