Skip to content
Docs
Documentation/Billing & subscriptions
Billing & subscriptions

Purchase verification & subscription events

Understand Aplyna's signed StoreKit verification, SDK billing gateway, app-scoped transaction ownership and store-notification boundaries.

On this page Send store proof to the billing serviceKeep SDK updates and store notifications distinctRetry without duplicate purchases or access

Send store proof to the billing service

The iOS SDK verifies the native StoreKit result and sends signed purchase proof to Aplyna's billing gateway at https://aplyna.com/api/billing. The service independently verifies Apple proof and matches the application, environment, product mapping and billing customer. SDK analytics events, prices and purchase-button taps are never purchase proof.

Use the app-specific Apple SDK key in the native client. Apple private keys, provider credentials and billing-service admin tokens stay on the server. Test Store keys are rejected at purchase/customer gateways.

Keep SDK updates and store notifications distinct

Native transaction updates and foreground synchronization reconcile purchases for the current host. Store server notifications and available history supply separate signed lifecycle facts. Credential validation or a historical import alone does not prove that live notification routing is configured or complete.

Existing RevenueCat notification routing must remain in place during evaluation unless an explicit migration plan changes it. Aplyna's observed iOS lifecycle tests do not establish production event delivery, a public outbound customer-webhook product or complete historical discovery.

Retry without duplicate purchases or access

Store transactions are deduplicated by verified identity. Failed purchase-proof submission leaves an owned StoreKit transaction unfinished for later sync. Foreground reconciliation can also submit owned finished revocations missed by a listener, using bounded resumable history work. Retain the real failure and checkedAt; retry cannot extend access beyond verified facts.