Skip to content

Commit

Permalink
feat: Added PayPal custom attributes command
Browse files Browse the repository at this point in the history
  • Loading branch information
shafqatfarhan committed Oct 18, 2024
1 parent 06df74d commit 5667509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())}")
Expand Down

0 comments on commit 5667509

Please sign in to comment.