Reminder: By Aug 31, 2025, all new apps and updates to existing apps must use Billing Library version 7 or newer. If you need more time to update your app, you can request an extension until Nov 1, 2025. Learn about Play Billing Library version deprecation.
Google Play را با باطن سرور خود ادغام کنید، Google Play را با باطن سرور خود ادغام کنید، Google Play را با باطن سرور خود ادغام کنید، Google Play را با باطن سرور خود ادغام کنید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پشتیبان سرور امن شما نقش کلیدی در مدیریت برنامه شما در خریدهای درون برنامه ای از طریق Google Play ایفا می کند. سیستم صورتحساب Google Play راهی برای مدیریت مهمترین جنبههای کسبوکار محصولات دیجیتال شما، از راهاندازی کاتالوگ گرفته تا ردیابی تراکنشهای شما، ارائه میکند.
شکل 1. نمودار ادغام باطن معمولی با سیستم صورتحساب Google Play.
شکل 2. نقاط پایانی مربوط به صورتحساب ارائه شده توسط Google Play Developer API.
مدیریت خودکار کاتالوگ محصولات دیجیتال
موارد استفاده زیادی وجود دارد که به طور بالقوه مفید است که یک ادغام مدیریت کاتالوگ محصولات دیجیتال در باطن خود داشته باشید. به عنوان مثال، این ادغام می تواند شما را قادر به انجام کارهای زیر کند:
هنگام اعطای حق، آینه ای از جزئیات محصولات خود را در قسمت پشتی خود نگه دارید تا به آن دسترسی داشته باشید.
یک فرآیند دستهای را برای بهروزرسانی خودکار همه قیمتهایتان تنظیم کنید.
سیستم مدیریت کاتالوگ خود را به کاتالوگ موجود در سیستم صورتحساب Google Play متصل کنید تا مطمئن شوید که به طور همزمان به روز می شود.
نظارت بر رویدادهای چرخه عمر خرید برای پاسخ سریع و دقیق به تغییرات در حقوق کاربران ضروری است. شما باید مدیریت وضعیت خرید را هم برای اشتراک ها و هم برای خریدهای یکباره در قسمت پشتیبان خود بسازید تا همه خریدهای شما ایمن باشند و همه حقوق شما ثابت باشد.
سیستم صورتحساب Google Play اعلانهای بیدرنگ توسعهدهنده (RTDN) را برای هر دو نوع خرید ارسال میکند و پشتیبان شما باید آماده وارد کردن این پیامها و ایجاد تغییرات لازم باشد. برای یادگیری نحوه استفاده از یک کلاینت RTDN و Google Play Developer API برای مدیریت چرخه عمر خرید خود، به راهنمای چرخه عمر خرید مراجعه کنید.
پیشگیری از تقلب و سوء استفاده
با انتقال منطق حساس به پشتیبان خود و نظارت بر خریدهای باطل در Google Play از سوء استفاده جلوگیری کنید. Google Play Developer API عملکردهایی را برای تأیید خریدهای جدید، خرید محصولات درون برنامهای و رسیدگی به خریدهای باطل ارائه میدهد. برای کسب اطلاعات بیشتر در مورد جلوگیری از تقلب و سوء استفاده، به مبارزه با تقلب و سوء استفاده مراجعه کنید.
هماهنگی مالی و گزارش دهی خودکار
میتوانید با دانلود گزارشهای کنسول Play، دادههای گزارش خود را از Google Play وارد کنید. میتوانید از APIهای Google Cloud Storage برای دانلود اطلاعات موجود در کنسول Play برای رسیدگی به موارد استفاده مرتبط با این اطلاعات استفاده کنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-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"]],["تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Integrate Google Play with your server backend\n\nYour secure server backend plays a key role in your app's management of in-app\npurchases through Google Play. Google Play's billing system provides a way to\nmanage the most important aspects of your digital product business, from setting\nup the catalog to tracking your transactions.\n**Figure 1.** Diagram of a typical backend integration with Google Play's billing system.\n\nThe [Google Play Developer API](https://developers.google.com/android-publisher)\nincludes several endpoints to keep your backend in sync with the Google Play\nbackend. In particular, the [Subscriptions and in-app purchases\nAPI](https://developers.google.com/android-publisher#subscriptions) handles\nfunctionality related to your digital product sales on Google Play.\n**Figure 2.** Billing-related endpoints provided by the Google Play Developer API.\n\nAutomated digital product catalog management\n--------------------------------------------\n\nThere are many use cases where it's potentially useful to have a digital product\ncatalog management integration in your backend. For example, this integration\ncould enable you to do the following:\n\n- Keep a mirror of your products' details on your backend for access when granting entitlements.\n- Set up a batch process to update all of your prices automatically.\n- Connect your own catalog management system with the catalog in Google Play's billing system to make sure it's updated synchronously.\n\nYou can use the\n[`monetization.subscriptions`](https://developers.google.com/android-publisher/api-ref/rest/v3/monetization.subscriptions)\nand\n[`inappproducts`](https://developers.google.com/android-publisher/api-ref/rest/v3/inappproducts)\nendpoints to manage your digital product catalog.\n\nPurchase lifecycle management and entitlement sync\n--------------------------------------------------\n\nMonitoring purchase lifecycle events is essential for quick, accurate response\nto changes in your users' entitlements. You should build purchase status\nmanagement into your backend for both subscriptions and one-time purchases so\nthat all of your purchases are secure and all of your entitlements are\nconsistent.\n\nGoogle Play's billing system sends [Real-time developer\nnotifications](/google/play/billing/rtdn-reference) (RTDN) for both types of\npurchase, and your backend should be ready to import these messages and make the\nnecessary changes. To learn how to leverage an RTDN client and the\nGoogle Play Developer API to manage your purchase lifecycle, see the\n[purchase lifecycle guide](/google/play/billing/lifecycle).\n\nFraud and abuse prevention\n--------------------------\n\nPrevent abuse by moving sensitive logic to your backend and monitoring voided\npurchases on Google Play. The Google Play Developer API offers functions\nto acknowledge new purchases, consume in-app product purchases, and handle\nvoided purchases. To learn more about preventing fraud and abuse, see [Fight\nfraud and abuse](/google/play/billing/security).\n\nAutomated financial conciliation and reporting\n----------------------------------------------\n\nYou can import your reporting data from Google Play by downloading your [Play\nConsole\nreports](https://support.google.com/googleplay/android-developer/answer/6135870).\nYou can leverage [Google Cloud Storage APIs](https://cloud.google.com/storage/)\nto download the information available to you on the Play Console to address any\nuse cases related to this information.\n\nExternal transaction management\n-------------------------------\n\nIf you are integrating with the\n[alternative billing](/google/play/billing/alternative) or\n[external offers](/google/play/billing/external) APIs, use\nthe [`Externaltransactions APIs`](/google/play/billing/outside-gpb-backend)\nto report and manage completed transactions."]]