From 1069d6911f15d6fbbee6c3b3273588d9cef3e7b5 Mon Sep 17 00:00:00 2001 From: mbianco-stripe <45374579+mbianco-stripe@users.noreply.github.com> Date: Thu, 6 Oct 2022 13:14:47 -0700 Subject: [PATCH] Fixing inability to save static defaults on subscription item (#840) --- .../main/default/lwc/dataMappingStep/dataMappingStep.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfdx/force-app/main/default/lwc/dataMappingStep/dataMappingStep.js b/sfdx/force-app/main/default/lwc/dataMappingStep/dataMappingStep.js index 6f43cafc29..259bae70fb 100644 --- a/sfdx/force-app/main/default/lwc/dataMappingStep/dataMappingStep.js +++ b/sfdx/force-app/main/default/lwc/dataMappingStep/dataMappingStep.js @@ -91,6 +91,7 @@ export default class DataMappingStep extends LightningElement { product: {}, subscription_schedule: {}, subscription_phase: {}, + subscription_item: {}, price: {}, price_order_item: {} }, @@ -263,7 +264,7 @@ export default class DataMappingStep extends LightningElement { if(!fieldData.sfValue) { continue } - + if(fieldData.staticValue === true) { listOfAllMappings.field_defaults[stripeObjectName][fieldData.value] = fieldData.sfValue; } else {