Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Để cấp thẻ sinh viên mới, người dùng phải hoàn tất quy trình xác thực
và quy trình liên kết trên thiết bị của họ. Công cụ này liên kết
tài khoản người dùng với tài khoản Google Wallet.
Tài liệu này mô tả quy trình đó ở cấp độ tổng quát trên nhiều nền tảng.
Thêm vào Google Wallet trong một ứng dụng Android
Trong phần này, chúng tôi sẽ mô tả quy trình lưu thẻ vào
Google Wallet trong ứng dụng Android của một Nhà cung cấp dịch vụ.
Luồng người dùng
Những hình này minh hoạ quy trình người dùng cấp thẻ sinh viên từ
Góc nhìn của Google Wallet.
Hình 1: Người dùng bắt đầu cấp phép thẻ và chấp nhận Điều khoản dịch vụ.
Hình động kết nối quay được hiển thị cho người dùng trong khi mạng
khả năng kết nối và định cấu hình dịch vụ ban đầu.
Sau khi hoàn tất, người dùng chấp nhận Điều khoản dịch vụ và
tiếp tục với luồng dữ liệu.
Hình 2: Quá trình cấp phép cho người dùng đã hoàn tất.
Ảnh động lưu xoay sẽ hiển thị cho người dùng trong khi các dịch vụ trong nền cung cấp tài khoản trên thiết bị.
Sau khi các dịch vụ hoàn tất, màn hình thành công sẽ xuất hiện.
Người dùng có thể được nhắc tải ứng dụng Google Wallet xuống trong các màn hình tiếp theo nếu ứng dụng này chưa có trên thiết bị của họ.
Điểm chính
Nếu thẻ đã được lưu vào Tài khoản Google được chọn, người dùng sẽ
thay vào đó hiển thị một đường liên kết để mở thẻ trong ứng dụng Google Wallet,
nơi họ có thể xem thông tin chi tiết của thẻ.
Nếu thẻ được lưu vào một Tài khoản Google khác với Tài khoản Google mà người dùng đang đăng nhập, thì người dùng sẽ nhận được thông báo cho biết một Tài khoản Google khác đã lưu thẻ đó.
Nếu người dùng cố gắng thêm thẻ và không có Tài khoản Google,
sẽ xuất hiện. Sau khi tạo Tài khoản Google,
luồng sẽ tiếp tục bình thường.
Các ứng dụng hỗ trợ quy trình Campus ID cần tích hợp với Google
API của Dịch vụ Play. Tuy nhiên, phương thức gọi phương thức từ Nhà cung cấp dịch vụ
ứng dụng lên Dịch vụ Google Play không có sẵn trong phiên bản được phân phối công khai
phiên bản của
Dịch vụ Google Play.
Nhà phát triển ứng dụng Nhà cung cấp dịch vụ phải thêm và có quyền truy cập vào ứng dụng tuỳ chỉnh
các mô-đun để gọi một số phương thức nhất định. Hãy liên hệ với Nhà cung cấp dịch vụ của bạn để biết thêm thông tin.
Thêm vào Google Wallet trên thiết bị đeo từ ứng dụng Android
Người dùng có thể cấp phép cho Thiết bị đeo bằng cách bắt đầu quy trình cấp phép trên điện thoại và chọn một Thiết bị đeo, như trong hình sau:
Hình 1: Quy trình cấp phép cho thiết bị đeo.
Điểm chính
Để cấp phép cho Thiết bị đeo, điện thoại phải có khả năng cấp phép thẻ.
Người dùng có thể cấp phép cho điện thoại và thiết bị đeo trong một luồng hoặc họ có thể khởi động lại luồng để thêm điện thoại vào thiết bị đeo sau khi hoàn tất quá trình cấp phép đầu tiên cho điện thoại.
Nhà cung cấp dịch vụ phải giới hạn người dùng chỉ cấp phép
một thiết bị đeo.
Liên hệ với nhà cung cấp dịch vụ của bạn về phạm vi cung cấp thiết bị đeo
cấp phép.
Các ứng dụng hỗ trợ quy trình sử dụng thẻ sinh viên cần tích hợp với API Dịch vụ Google Play. Tuy nhiên, các lệnh gọi phương thức từ ứng dụng Nhà cung cấp dịch vụ đến Dịch vụ Google Play không có trong phiên bản Dịch vụ Google Play được phân phối công khai.
Nhà phát triển ứng dụng Nhà cung cấp dịch vụ phải thêm và có quyền truy cập vào ứng dụng tuỳ chỉnh
các mô-đun để gọi một số phương thức nhất định. Hãy liên hệ với Nhà cung cấp dịch vụ của bạn để biết thêm thông tin.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eCampus ID provisioning requires authentication and links an external account to Google Wallet.\u003c/p\u003e\n"],["\u003cp\u003eUsers can add a Campus ID to Google Wallet from an Android app or a Wearable device.\u003c/p\u003e\n"],["\u003cp\u003eThe provisioning process involves accepting terms of service and account creation if needed.\u003c/p\u003e\n"],["\u003cp\u003eService Provider apps must integrate with Google Play services APIs for Campus ID functionality, and may require custom modules for certain methods.\u003c/p\u003e\n"],["\u003cp\u003eUsers may be prompted to download the Google Wallet app if it's not already installed on their device.\u003c/p\u003e\n"]]],["Users provision a Campus ID by authenticating within a service provider's app and selecting \"Add to Google Wallet.\" They may need to create a Google Account. The process involves accepting terms of service and waiting through connection and save animations. Upon completion, a success screen appears. Users can also provision to a wearable device from their phone. Service provider apps must integrate with specific Google Play services APIs.\n"],null,["# Provision a new card\n\nTo provision a new Campus ID, the user must complete an authentication\nand association flow on their device. This links their external\nuser account to a Google Wallet account.\nThis document describes that process at a high level across different surfaces.\n\nAdd to Google Wallet from an Android app\n----------------------------------------\n\nIn this section, we describe the flow to save a card to\nGoogle Wallet from a Service Provider's Android app.\n\n### User flow\n\nThese figures illustrate the user flow to provision a Campus ID from a\nGoogle Wallet perspective.\n| **Note:** Before this flow begins, the user must authenticate within the Service Provider's app. Next, they must select the [Add to Google Wallet](/wallet/access/campus-id/get-started/brand-guidelines#add-to-google-wallet-button) button. If the user doesn't have a Google Account, they complete a flow to create one and then continue the flow to provision their card.\n**Figure 1**: A user begins to provision their card and accepts the Terms of Service.\n\n\n- A spinning connection animation is shown to the user while network connectivity and initial services configure.\n- After this completes, the user accepts the Terms of Service and continues with the flow.\n\n\u003cbr /\u003e\n\n**Figure 2**: User provisioning completes.\n\n\n- A spinning save animation is shown to the user while background services provision the account on the device.\n- After the services complete, a success screen appears.\n- The user might be prompted in subsequent screens to download the Google Wallet app, if it doesn't already exist on their device.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### Key points\n\n- If the card is already saved to the selected Google Account, the user is instead shown a link to open the card in the Google Wallet app, where they can view card details.\n- If the card is saved to a Google Account other than the one the user is logged into, the user receives a message that indicates another Google Account has already saved that card.\n- If the user attempts to add a card and doesn't have a Google Account, a prompt to create an account appears. After creation of the Google Account, the flow continues normally.\n- Apps that support Campus ID flows need to integrate with Google Play services APIs. However, the method calls from the Service Provider app to Google Play services aren't available in the publicly distributed version of [Google Play services](https://developers.google.com/android/guides/overview). The Service Provider app developer must add and get access to custom modules to call certain methods. Check with your Service Provider for more information.\n\nAdd to Google Wallet on a Wearable from an Android app\n------------------------------------------------------\n\nUsers can provision to their Wearables by initiating the provisioning flow on\ntheir phone and selecting a single Wearable, as seen in this figure:\n**Figure 1**: Wearable provisioning flow.\n\n### Key points\n\n- Provisioning to a Wearable requires a phone capable of provisioning a card.\n- Users can provision to their phone and Wearable in a single flow, or they can restart the flow to add it to a Wearable after the first provisioning to their phone is complete.\n- Users should be limited by the Service Provider to provisioning only a single Wearable.\n- Inquire with your Service Provider about the availability of Wearable provisioning.\n- Apps that support Campus ID flows need to integrate with Google Play services APIs. However, the method calls from the Service Provider app to Google Play services aren't available in the publicly distributed version of [Google Play services](https://developers.google.com/android/guides/overview). The Service Provider app developer must add and get access to custom modules to call certain methods. Check with your Service Provider for more information."]]