gpc-purchase-orders
Skill4 starsChanged 9 months agoMITView on GitHub
Verify purchases, check subscription status, process refunds, and manage external transactions using gpc. Use when handling purchase verification or order management.
In this repository11 other files it gives its agents.
- gpc-app-recoverySkill
- gpc-build-lifecycleSkill
- gpc-cli-usageSkill
- gpc-device-managementSkill
- gpc-metadata-syncSkill
- gpc-monetizationSkill
- gpc-release-flowSkill
- gpc-review-managementSkill
- gpc-team-accessSkill
- gpc-testingSkill
- gpc-vitalsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when verifying purchases, checking subscription status, processing refunds, or managing external transactions.
- Distinctive: line 80
Always verify purchase token validity before taking action.
- Very specific: line 83
Use gpc orders get to inspect before gpc orders refund.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purchases & Orders
Use this skill when verifying purchases, checking subscription status, processing refunds, or managing external transactions.
Purchase verification
Verify a purchase
gpc purchases verify --product-id premium_upgrade --token PURCHASE_TOKEN --package com.example.appCheck subscription status
gpc purchases subscription-status --product-id monthly_pro --token PURCHASE_TOKEN --package com.example.appAcknowledge a purchase
gpc purchases acknowledge --product-id premium_upgrade --token PURCHASE_TOKEN --package com.example.appVoided purchases
List voided purchases
gpc purchases voided list --package com.example.appOrders
Get order details
gpc orders get --order-id GPA.1234-5678-9012 --package com.example.appGet multiple orders
gpc orders batch-get --order-ids GPA.1234-5678-9012,GPA.9876-5432-1098 --package com.example.appRefund an order
gpc orders refund --order-id GPA.1234-5678-9012 --confirm --package com.example.appExternal transactions (alternative billing)
Create external transaction
gpc ext-tx create --file transaction.json --package com.example.appGet external transaction
gpc ext-tx get --name transactions/12345 --package com.example.appRefund external transaction
gpc ext-tx refund --name transactions/12345 --confirm --package com.example.appAgent behavior
- Always verify purchase token validity before taking action.
- Require
--confirmfor refunds; never auto-confirm. - Show order details before processing refunds.
- Use
gpc orders getto inspect beforegpc orders refund.
Notes
- Purchase tokens come from the client app's billing library.
- Voided purchases include refunds, chargebacks, and revocations.
- External transactions are for apps using alternative billing (requires enrollment).
ext-txis the short alias forexternal-transactions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

