From 3e98698211c67d999dcd3e20e06256777645212e Mon Sep 17 00:00:00 2001 From: Jing Li Date: Mon, 12 Jan 2026 20:15:01 -0500 Subject: [PATCH 1/2] Update invalid spec URLs in discovery profile and clean up obsolete extensions on Order capablity --- .../server/routes/discovery_profile.json | 39 +++++-------------- 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/rest/python/server/routes/discovery_profile.json b/rest/python/server/routes/discovery_profile.json index 7cfc989..e786dec 100644 --- a/rest/python/server/routes/discovery_profile.json +++ b/rest/python/server/routes/discovery_profile.json @@ -4,7 +4,7 @@ "services": { "dev.ucp.shopping": { "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping", + "spec": "https://ucp.dev/specification/reference", "rest": { "schema": "https://ucp.dev/services/shopping/openapi.json", "endpoint": "{{ENDPOINT}}" @@ -15,54 +15,33 @@ { "name": "dev.ucp.shopping.checkout", "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/checkout", + "spec": "https://ucp.dev/specification/checkout", "schema": "https://ucp.dev/schemas/shopping/checkout.json" }, { "name": "dev.ucp.shopping.order", "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/order", + "spec": "https://ucp.dev/specification/order", "schema": "https://ucp.dev/schemas/shopping/order.json" }, - { - "name": "dev.ucp.shopping.refund", - "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/refund", - "schema": "https://ucp.dev/schemas/shopping/refund.json", - "extends": "dev.ucp.shopping.order" - }, - { - "name": "dev.ucp.shopping.return", - "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/return", - "schema": "https://ucp.dev/schemas/shopping/return.json", - "extends": "dev.ucp.shopping.order" - }, - { - "name": "dev.ucp.shopping.dispute", - "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/dispute", - "schema": "https://ucp.dev/schemas/shopping/dispute.json", - "extends": "dev.ucp.shopping.order" - }, { "name": "dev.ucp.shopping.discount", "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/discount", + "spec": "https://ucp.dev/specification/discount", "schema": "https://ucp.dev/schemas/shopping/discount.json", "extends": "dev.ucp.shopping.checkout" }, { "name": "dev.ucp.shopping.fulfillment", "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/fulfillment", + "spec": "https://ucp.dev/specification/fulfillment", "schema": "https://ucp.dev/schemas/shopping/fulfillment.json", "extends": "dev.ucp.shopping.checkout" }, { "name": "dev.ucp.shopping.buyer_consent", "version": "2026-01-11", - "spec": "https://ucp.dev/specs/shopping/buyer_consent", + "spec": "https://ucp.dev/specification/buyer_consent", "schema": "https://ucp.dev/schemas/shopping/buyer_consent.json", "extends": "dev.ucp.shopping.checkout" } @@ -87,10 +66,10 @@ "id": "google_pay", "name": "google.pay", "version": "2026-01-11", - "spec": "https://example.com/spec", - "config_schema": "https://example.com/schema", + "spec": "https://developers.google.com/merchant/ucp/guides/gpay-payment-handler", + "config_schema": "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/gpay_config.json", "instrument_schemas": [ - "https://ucp.dev/schemas/shopping/types/gpay_card_payment_instrument.json" + "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/gpay_card_payment_instrument.json" ], "config": { "api_version": 2, From 588186e9d80d9c083eb9803fba663102e8f8397b Mon Sep 17 00:00:00 2001 From: Jing Li Date: Mon, 19 Jan 2026 17:15:26 -0500 Subject: [PATCH 2/2] Update all invalid URLs in profile and clean up mock handler --- .../server/routes/discovery_profile.json | 36 ++++++------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/rest/python/server/routes/discovery_profile.json b/rest/python/server/routes/discovery_profile.json index e786dec..af55c47 100644 --- a/rest/python/server/routes/discovery_profile.json +++ b/rest/python/server/routes/discovery_profile.json @@ -6,7 +6,7 @@ "version": "2026-01-11", "spec": "https://ucp.dev/specification/reference", "rest": { - "schema": "https://ucp.dev/services/shopping/openapi.json", + "schema": "https://ucp.dev/services/shopping/rest.openapi.json", "endpoint": "{{ENDPOINT}}" } } @@ -41,7 +41,7 @@ { "name": "dev.ucp.shopping.buyer_consent", "version": "2026-01-11", - "spec": "https://ucp.dev/specification/buyer_consent", + "spec": "https://ucp.dev/specification/buyer-consent", "schema": "https://ucp.dev/schemas/shopping/buyer_consent.json", "extends": "dev.ucp.shopping.checkout" } @@ -51,12 +51,12 @@ "handlers": [ { "id": "shop_pay", - "name": "com.shopify.shop_pay", + "name": "dev.shopify.shop_pay", "version": "2026-01-11", - "spec": "https://shopify.dev/ucp/handlers/shop_pay", - "config_schema": "https://shopify.dev/ucp/handlers/shop_pay/config.json", + "spec": "https://shopify.dev/docs/agents/checkout/shop-pay-handler", + "config_schema": "https://shopify.dev/ucp/shop-pay-handler/2026-01-11/config.json", "instrument_schemas": [ - "https://shopify.dev/ucp/handlers/shop_pay/instrument.json" + "https://shopify.dev/ucp/shop-pay-handler/2026-01-11/instrument.json" ], "config": { "shop_id": "{{SHOP_ID}}" @@ -64,12 +64,12 @@ }, { "id": "google_pay", - "name": "google.pay", + "name": "com.google.pay", "version": "2026-01-11", - "spec": "https://developers.google.com/merchant/ucp/guides/gpay-payment-handler", - "config_schema": "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/gpay_config.json", + "spec": "https://pay.google.com/gp/p/ucp/2026-01-11/", + "config_schema": "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/config.json", "instrument_schemas": [ - "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/gpay_card_payment_instrument.json" + "https://pay.google.com/gp/p/ucp/2026-01-11/schemas/card_payment_instrument.json" ], "config": { "api_version": 2, @@ -106,22 +106,6 @@ } ] } - }, - { - "id": "mock_payment_handler", - "name": "dev.ucp.mock_payment", - "version": "2026-01-11", - "spec": "https://ucp.dev/specs/mock", - "config_schema": "https://ucp.dev/schemas/mock.json", - "instrument_schemas": [ - "https://ucp.dev/schemas/shopping/types/card_payment_instrument.json" - ], - "config": { - "supported_tokens": [ - "success_token", - "fail_token" - ] - } } ] }