با مجموعهها، منظم بمانید
ذخیره و دستهبندی محتوا براساس اولویتهای شما.
هنگامی که یک پاسپورت ایجاد کردید و آن را در یک JWT امضا شده رمزگذاری کردید، میتوانید آن را در هر جایی که پیوند «افزودن به کیف پول Google» پشتیبانی میشود صادر کنید. برای انجام این کار، دکمه «افزودن به Google Wallet» یا یک لینک را به کاربر خود ارائه میدهید که پس از ضربه زدن روی آن، پاس را در Google Wallet ذخیره میکند. نمونه هایی از مواردی که ممکن است از این روش استفاده کنید شامل وب سایت ها، ایمیل، پیامک و موارد دیگر است.
پیش نیازها
قبل از اینکه بخواهید مجوز صادر کنید، حتماً موارد زیر را انجام دهید:
Pass Class و Passes Object را در JWT رمزگذاری کنید .
JWT خود را با کلید حساب سرویس Google Cloud خود امضا کنید .
1. پیوند «افزودن به Google Wallet» ایجاد کنید
صدور مجوز با پیوند «Google Wallet»، Object Passes را به Google Wallet کاربر اضافه میکند، و فقط میتواند در چارچوب هویت Google وارد شده به سیستم شروع شود.
برای اطلاعات بیشتر در مورد نحوه ایجاد JWT امضا شده مورد نیاز برای ایجاد پیوند «افزودن به Google Wallet»، به کار با JSON Web Tokens مراجعه کنید.
2. (توصیه می شود) از دکمه «افزودن به کیف پول Google» استفاده کنید
برای هر سطحی که از تصاویر هایپرلینک پشتیبانی می کند، مانند وب سایت ها و ایمیل، توصیه می شود پیوند «افزودن به کیف پول Google» را با دکمه «افزودن به Google Wallet» به کاربران خود ارائه دهید. برای کاربران Google Wallet، این دکمه یک فرمان آشنا است که به عنوان راهی برای شروع اضافه کردن مجوز به Google Wallet آنها قابل تشخیص است.
دارایی های تصویر برای دانلود در جهت گیری ها و زبان های مختلف برای پشتیبانی از ادغام API Google Wallet شما در دسترس هستند.
تاریخ آخرین بهروزرسانی 2025-03-11 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-03-11 بهوقت ساعت هماهنگ جهانی."],[[["Issue passes to users through an 'Add to Google Wallet' link, which is a dynamically generated URL containing an encoded and signed JWT."],["The 'Add to Google Wallet' link can be embedded in various platforms like websites, emails, and SMS, enabling users to save passes to their Google Wallet."],["It is recommended to utilize the 'Add to Google Wallet' button, providing a familiar and recognizable call to action for users."],["Passes created in Demo Mode will display \"[TEST ONLY]\" in the title until publishing access is granted."],["Before issuing passes, complete the onboarding guide, create a Passes Class and Object, encode them in a JWT, and sign it with your Google Cloud service account key."]]],["To issue a pass, present users with an 'Add to Google Wallet' button or hyperlink, which saves the pass upon tapping. This link, formatted as `https://pay.google.com/gp/v/save/\u003csigned_jwt\u003e`, can be used on websites, email, SMS, etc. Ensure you've completed onboarding, created Passes Classes and Objects, and encoded/signed them in a JWT. If in demo mode, passes will display \"[TEST ONLY]\". Use the 'Add to Google Wallet' button where possible for a familiar user prompt.\n"]]