Google Play’s billing system | Android Developers
Integration architecture
This section introduces the different functional modules that you can build and the APIs and libraries available to simplify the process .
Figure 1. Diagram of a typical Google Play billing
integration.
You can integrate Google Play’s billing system with your Android app using the Play Billing Library. This library enables communication with the Google Play Services layer that provides the localized product offering available to each user in your app, as well as methods to handle other necessary user operations, like launching the purchase flow and handling its outcome .
You should also integrate Google Play’s billing system with your server backend to
create the necessary developer flows. This is essential to guarantee that your
purchase management and cross-platform entitlements are efficient and secure.
You can create this integration with the Subscriptions and in-app purchases
API provided by
the Google Play Developer API. The backend integration also leverages some
Google Cloud platform tools.Xem thêm: Top 10 phần mềm quay video trên laptop
Bạn đang đọc: Google Play’s billing system | Android Developers
Figure 2. APIs and services provided by the Google Play
Developer API.Terminology
This section lists and describes the high-level technologies and concepts that you might encounter when integrating Google Play’s billing system into your app. Reference this list as you proceed through the integration guidance .
Technologies
Concepts
- Flow. A flow shows the typical steps involved in a billing-related
task. For example, a purchase flow outlines the steps
involved when a user purchases your product. A subscription flow might show
how a subscription transitions between states.- Entitlement. When a user purchases an in-app product, they are then
entitled to that product within your app. For one-time products, this
means that the user should now have permanent access to the product.
For subscriptions, this means that the user should have access while
the subscription is active.- Product ID. The ID of a specific product type.
- Purchase token. A string that represents a buyer’s entitlement to a
product on Google Play. It indicates that a Google user has paid for a
specific product.- Order ID. A string that represents a financial transaction on Google Play.
An order ID is created every time a financial transaction occurs. This string
is included in a receipt that is emailed to the buyer. You can use the order
ID to manage refunds in the Order Management section of the
Google Play Console. Order IDs are also used in sales and payout
reports.We want your feedback ! You can let us know how we’re doing in any of the following ways :
- For issues related to the Google Play Billing Library or the Google
Developer API, file a bug through the
Google Issue Tracker. - For issues related to the sample apps please, file an issue in the
GitHub Issue Tracker.
Next steps
To begin integrating Google Play’s billing system with your app and server backend, see the setup guide .
Source: https://thomaygiat.com
Category : Ứng Dụng
Hướng dẫn sửa Tủ lạnh Sharp lỗi H-28 chi tiết và an toàn
Mục ChínhHướng dẫn sửa Tủ lạnh Sharp lỗi H-28 chi tiết và an toànLỗi H-28 Trên Tủ Lạnh Sharp Là Gì?Dấu Hiệu Nhận Biết Lỗi…
Máy giặt Electrolux gặp lỗi E-44 điều bạn nên làm
Mục ChínhMáy giặt Electrolux gặp lỗi E-44 điều bạn nên làmĐịnh nghĩa mã lỗi E-44 máy giặt Electrolux5 Nguyên nhân gây ra mã lỗi E-44…
Khắc phục sự cố Lỗi H27 trên tủ lạnh Sharp
Mục ChínhKhắc phục sự cố Lỗi H27 trên tủ lạnh SharpĐịnh nghĩa mã lỗi H-27 tủ lạnh SharpTầm quan trọng của việc hiểu mã lỗi…
Lỗi E-42 máy giặt Electrolux tự kiểm tra an toàn
Mục ChínhLỗi E-42 máy giặt Electrolux tự kiểm tra an toànĐịnh nghĩa lỗi E-42 trên máy giặt ElectroluxNguyên nhân gây ra lỗi E-42 máy giặt…
Tủ lạnh Sharp lỗi H12 khi nào nên gọi thợ
Mục ChínhTủ lạnh Sharp lỗi H12 khi nào nên gọi thợĐịnh nghĩa mã lỗi H12 trên tủ lạnh SharpDấu hiệu nhận biết mã lỗi H12Nguyên…
Hướng dẫn xử lý máy giặt Electrolux lỗi E-41
Mục ChínhHướng dẫn xử lý máy giặt Electrolux lỗi E-41Định nghĩa mã lỗi E-41 máy giặt ElectroluxNguyên nhân lỗi E-41 trên máy giặt ElectroluxCửa không…