diff --git a/commerce_coordinator/apps/commercetools/catalog_info/foundational_types.py b/commerce_coordinator/apps/commercetools/catalog_info/foundational_types.py index 0da93532..4613b204 100644 --- a/commerce_coordinator/apps/commercetools/catalog_info/foundational_types.py +++ b/commerce_coordinator/apps/commercetools/catalog_info/foundational_types.py @@ -218,7 +218,8 @@ class TwoUCustomObjects: "payLaterMessageTextColor": "black", # "black" | "white" | "monochrome" | "grayscale" "payLaterMessageTextSize": "10", # "10" | "11" | "12" | "13" | "14" | "15" | "16" "payLaterMessageTextAlign": "left", # "left" | "center" | "right" - "payLaterMessageFlexColor": "blue", # "blue" | "black" | "white" | "white-no-border" | "gray" | "monochrome" | "grayscale" + # "blue" | "black" | "white" | "white-no-border" | "gray" | "monochrome" | "grayscale" + "payLaterMessageFlexColor": "blue", "payLaterMessageFlexRatio": "1x1", # "1x1" | "1x4" | "8x1" | "20x1" "threeDSOption": "", # "" | "SCA_ALWAYS" | "SCA_WHEN_REQUIRED" "payPalIntent": "Capture", # "Authorize" | "Capture" diff --git a/commerce_coordinator/apps/commercetools/management/commands/create_paypal_custom_types.py b/commerce_coordinator/apps/commercetools/management/commands/create_paypal_custom_types.py index e5581e69..65265593 100644 --- a/commerce_coordinator/apps/commercetools/management/commands/create_paypal_custom_types.py +++ b/commerce_coordinator/apps/commercetools/management/commands/create_paypal_custom_types.py @@ -22,7 +22,6 @@ def handle(self, *args, **options): except CommercetoolsError as ex: print(f"Error in creating/updating PayPal custom object: {str(ex)}") - try: ret = self.ct_api_client.base_client.types.get_by_key(type_key) print(f"Payment custom type already exists: {json.dumps(ret.serialize())}")