创建卡券并将其编码到已签名的 JWT 中后,您就可以在支持“添加到 Google 钱包”链接的任何位置签发该卡券。为此,您需要向用户显示“添加到 Google 钱包”按钮或超链接,用户点按该按钮或超链接后,系统会将卡券保存到其 Google 钱包中。您可以在移动应用、网站、电子邮件、聊天和短信等场景中使用此方法。
[[["易于理解","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):2026-11-12。"],[],["To issue a pass, present users with an 'Add to Google Wallet' link or button. This link, embedded in websites, emails, or SMS, contains a signed JWT and saves the pass to the user's Google Wallet. Before issuing, complete onboarding, create a Passes Class and Object, and encode/sign them in a JWT. Demo passes will show \"[TEST ONLY]\" text. The 'Add to Google Wallet' button is recommended where image hyperlinking is possible, with downloadable image assets provided.\n"]]