google-play-billing

Implement Google Play Billing Library for Android in-app purchases and subscriptions.

1|1|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/tianguzhe/zsh-config --skill google-play-billing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-play-billing
Source: https://github.com/tianguzhe/zsh-config/tree/main/claude/skills/google-play-billing
Command: npx skills add https://github.com/tianguzhe/zsh-config --skill google-play-billing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers implement Google Play Billing Library for Android to enable in-app purchases, manage products, handle purchases, and validate transactions.

Core Features & Use Cases

  • Simplified integration of Google Play Billing Library to support IAP and subscriptions.
  • End-to-end lifecycle handling for purchases and renewals, including RTDN notifications.
  • Back-end integration with Google Play Developer API for purchase verification and entitlement management.

Quick Start

  1. Add the Google Play Billing dependency to your Android project and configure the required permissions.
  2. Initialize BillingClient, connect to Google Play, and query ProductDetails for products you offer.
  3. Launch the purchase flow with the selected ProductDetails and handle onPurchasesUpdated to grant access after verification.

Frequently Asked Questions about google-play-billing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Google Play Billing for in-app purchases and subscriptions?

Google Play Billing handles in-app purchases and subscriptions by integrating BillingClient to query ProductDetails, launch purchase flows, and process onPurchasesUpdated callbacks for transaction verification.

How do I handle Real-time developer notifications for subscription renewals?

Handle Real-time developer notifications (RTDN) by integrating your back-end with the Google Play Developer API to receive renewal events, verify purchase states, and manage user entitlements automatically.

How do I migrate Google Play Billing Library versions while maintaining backward compatibility?

Migrate Google Play Billing Library versions by updating BillingClient setup and purchase flows while preserving backward compatibility for existing product details, consumables, non-consumables, and active subscriptions.

How do I verify Google Play purchases on a backend server?

Verify Google Play purchases on a backend server by using the Google Play Developer API to validate purchase tokens, check subscription statuses, and grant entitlements after confirming successful transactions.

Can I manage consumables, non-consumables, and subscriptions with Google Play Billing?

Google Play Billing supports managing consumables, non-consumables, and subscriptions, handling the complete lifecycle including purchases, consumptions, price changes, and renewals through the BillingClient.

What are the limitations of handling Google Play Billing without backend verification?

Without backend verification using the Google Play Developer API, you cannot securely validate purchase tokens, reliably process RTDN notifications for renewals, or manage entitlements robustly against spoofed transactions.