发布集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本部分介绍了如何将您的应用配置为正式版,并接受真实的付款凭据。
前提条件
在申请生产环境访问权限之前,请确保您拥有受支持的支付网关或符合支付卡行业数据安全标准 (PCI DSS) 的环境,以便处理持卡人数据付款信息。
此外,请完成 Android 设置指南中的步骤。
创建个人资料
以下是创建个人资料的步骤:
- 前往 Google Pay 和钱包控制台。
- 在商家类型列表中,选择商家,然后填写其他必填信息。
- 完善您的商家资料。
- 在左侧导航菜单中,点击 Google Pay API 标签页。
- 点击开始。
- 接受 Google Pay API 服务条款和使用限制政策。
- 可选:配置适用的地区性功能,例如 Visa 设备令牌的欺诈责任保护。
现在,您可以在屏幕右上角看到您的商家 ID。
集成 Android 应用
以下是将 Android 应用集成的步骤列表:
- 为确保您的应用已准备好接受审核,请评估集成核对清单。
- 在 Google Pay 和钱包控制台中,前往 Google Pay API > 集成 > 与您的 Android 应用集成部分,找到您的 Android 应用,然后点击管理。
- 如果您没有看到自己的 Android 应用,请按以下步骤操作:
- 在左侧导航菜单中,点击用户。
- 点击邀请用户。
- 在 Google Play 开发者控制台中添加与应用关联的账号所有者或管理员的电子邮件地址。
- 选择用户访问权限级别。
- 点击邀请用户。
- 添加用户后,请退出 Google Pay & Wallet Console。
- 使用新用户账号登录 Google Pay & Wallet Console。
- 选择集成类型:网关(如果使用参与计划的付款服务提供商)或直接(符合 PCI DSS 标准的商家)。
- 上传显示您的测试 Google Pay API 集成的应用屏幕截图。
- 点击保存。
- 点击提交以供审批。
相关信息会发送给我们的新手入门团队,您需要等待他们的回复。
以下是将应用配置为正式版的步骤列表:
- 确保使用发布密钥,而不是您在测试环境中所用的调试密钥为您的 APK 签名。
- 将 Wallet.WalletOptions 环境参数设置为
WalletConstants.ENVIRONMENT_PRODUCTION。
在 Google Play 商店中发布应用
您的 Google Pay 集成获得批准后,您就可以在 Google Play 商店中发布应用了。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-11-29。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-11-29。"],[],["To configure an app for production and accept real payments, ensure you have a supported payment gateway or PCI DSS compliant environment. Create a profile in the Google Pay & Wallet Console, selecting \"Merchant\" as the business type. Integrate the Android app by navigating to the Google Pay API section, adding app users if necessary, and selecting the integration type (Gateway or Direct). Upload screenshots of the test integration and submit it for approval. Finally, sign the APK with the release key and set the Wallet environment to production before publishing the app.\n"]]