From 6cb48dd8c60394b5f04414cada0625c1a7d04dad Mon Sep 17 00:00:00 2001 From: Karma Date: Thu, 29 Oct 2026 17:37:15 +1000 Subject: [PATCH] fix(products): use regions version 2026/01 for one-time product writes products create and update sent regionsVersion.version 2022/02. Under that version Bulgaria still expects BGN, so updating a product that is priced in EUR in Bulgaria (as the Console now prices it) fails with "Invalid currency for region code BG at the specified regions version 2022/02. Expected BGN but got EUR." Co-Authored-By: Claude Opus 5.5 --- cmd/playconsole-cli/commands/products/products.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/playconsole-cli/commands/products/products.go b/cmd/playconsole-cli/commands/products/products.go index 0db2023..91f94c9 100644 --- a/cmd/playconsole-cli/commands/products/products.go +++ b/cmd/playconsole-cli/commands/products/products.go @@ -301,7 +301,7 @@ func runCreate(cmd *cobra.Command, args []string) error { result, err := client.Monetization().Onetimeproducts.Patch(client.GetPackageName(), productID, product). AllowMissing(true). UpdateMask(mask). - RegionsVersionVersion("2022/02"). + RegionsVersionVersion("2026/01"). Context(ctx). Do() if err != nil { @@ -366,7 +366,7 @@ func runUpdate(cmd *cobra.Command, args []string) error { result, err := client.Monetization().Onetimeproducts.Patch(client.GetPackageName(), productID, product). UpdateMask(mask). - RegionsVersionVersion("2022/02"). + RegionsVersionVersion("2026/01"). Context(ctx). Do() if err != nil {