Skip to main content
Google Universal Commerce Protocol (UCP) Guide
首页 实现 常见问题解答
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
  • 实现
Google Universal Commerce Protocol (UCP) Guide
  • 首页
  • 实现
  • 常见问题解答
  • Get started
  • Implement UCP with Google
    • Overview
    • Prepare your Merchant Center account
    • Set up your business with Google Pay
    • Publish your UCP profile
    • Checkout
      • Overview
      • Native checkout
      • Embedded checkout (optional)
    • Identity linking (optional)
    • Order lifecycle
  • Google Pay payment handler
  • Risk signals
  • Code samples
  • Home
  • Products
  • Google Universal Commerce Protocol (UCP) Guide
  • 实现

Code Samples Stay organized with collections Save and categorize content based on your preferences.

You can find UCP code samples at the UCP samples GitHub repository .

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-13 UTC.

  • Programs

    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Women Techmakers
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어