Track purchases from "user tapped subscribe" to "subscription created."
In the PurchaseKit dashboard:
You'll see all intents with their status:
For sandbox testing, you can manually complete a pending intent:
This simulates receiving a webhook from the app store and triggers your Rails app's webhook handler. The user will be redirected to their success path.
Note: Manual completion is only available for sandbox intents. Production intents must come from real Apple or Google webhooks.
| Field | Description |
|---|---|
identifier |
Public ID (e.g., pi_QCCWGR8F) |
uuid |
Correlation ID sent to the store (Apple's appAccountToken or Google's obfuscatedAccountId) |
customer_id |
Your Pay::Customer ID |
success_path |
Redirect destination after purchase |
status |
pending or completed |
environment |
sandbox, production, or xcode |