AirPayment
A Project's AirPayment tab: revenue, purchases and refunds from the app you build, each transaction as it happens, filters, and the way to the purchase keys your own server reports with.
AirPayment is a Project’s tab for the purchases people make in the app you build. It shows totals for the last 30 days, a chart of purchases per day, and every transaction, newest first, with TestFlight and sandbox purchases marked. Until the app reports its first purchase, the tab shows AirPayment’s own page, where you ask your Agents to add it. The Guide walks through setting it up.
AirPayment doesn’t need an Apple Developer account. It’s free with AirBuild.
Open it
- In the Project’s chat, tap Show All Tabs (four squares) in the top-right corner, then AirPayment under AirBuild Services in the list. See Tab overview.
- Or, on any page of the Project, open the New Tab page and tap AirPayment.
- On iPad with the chat and its pages side by side, click + (New Tab) at the top of the inspector and pick AirPayment.
- In the Project’s chat, choose View › Go To › AirPayment.
- Or click + (New Tab) at the top of the inspector and pick AirPayment under AirBuild Services.
When someone buys in your app, the Team gets a notification. Open Purchase on it opens this tab on that purchase.
Before the first purchase
Until there’s a purchase, the tab shows AirPayment’s page: a picture, “Purchase tracking that verifies App Store transactions and shows revenue, purchases, and refunds.”, and a button. On iPhone and iPad, pull down to check again.
| State | What the page shows | What to do |
|---|---|---|
| Not added yet | Ask Agents to Add | Tap it. The app asks Ask Agents to Add, showing the words it will send: “Add AirPayment to the app”. Tap Send (or Cancel). A message with those words goes into the Project’s chat in your name, and the chat comes to the front. |
| Asked | “Added — the agents are on it”, with Open Chat | Follow the work in the chat. Open Chat shows only when the Project’s chat isn’t already beside the tab. The line stays after a relaunch and on your other devices. |
| Added, no purchase yet | Added, “Waiting for the first purchase”, Check Again, and the Purchase Keys row under it | Install a build with the change, make a purchase (a TestFlight one counts), then tap Check Again. The button spins while it checks. |
In the chat, your request shows as your own message, “Add AirPayment to the app”, with a one-line chip under it: AirPayment’s artwork, its name and a chevron. Tap the chip to come back to this tab. See AirBuild service.
What’s on it
Once there’s a purchase, from top to bottom:
| Item | What it shows or does |
|---|---|
| Revenue | Money taken in the Last 30 days, in one currency: the one most purchases used. |
| Purchases | How many purchases in the Last 30 days. |
| Refunds | How many purchases were refunded. |
| Sandbox | How many were test purchases, from TestFlight or Apple’s sandbox. |
| Purchases (Last 30 Days) | A chart of purchases per day. |
| Transactions | Every purchase, newest first. Beside the heading, the filters in force, side by side with a space between them, for example “Sandbox” and “Refunded”. Under the list: “Sandbox and TestFlight purchases never count toward revenue.” |
| Load Older | At the end of the list, when there are more. Reads the next, older part. A spinner takes its place while it reads. If the read fails, the list stays as it was and Load Older stays for another try. |
| Purchase Keys | Opens Purchase Keys. Shows “n active” or “None active”. Under it: “For payments your server confirms outside the App Store, such as WeChat Pay or Stripe.” Shows once the keys have been read. |
The four totals and the chart always count every purchase; the filter changes only the list. While the tab loads, the cards and three rows show as placeholders. If the totals can’t be read, they show a dash and the chart is left out. Revenue also shows a dash when there’s no revenue to show.
On iPhone and iPad, pull down to read everything again.
A transaction row
| Part | What it shows |
|---|---|
| Name | The product ID as your app names it. When every product shares the same start (for example com.example.app.), it’s left off so the rows tell products apart. A count follows when more than one was bought, for example “pro.coins × 3”. |
| Amount | At the right, in the purchase’s currency. None when the App Store sent no price. |
| Line under the name | Refunded and Sandbox when they apply, then the device and storefront, or for a purchase your server reported, how it was paid in your server’s words, and how long ago. A narrow row keeps fewer facts. |
Tap a row to open the purchase. Touch and hold it (on the Mac, right-click) for:
| Item | What it does |
|---|---|
| Copy Transaction ID | Copies the transaction’s ID. |
| Delete Record | Asks first. See Delete a record. |
Filter the transactions
The filter is the button with three lines, named Filter: at the top right of the tab on iPhone, in the inspector’s bar on the Mac and iPad. It shows only on the list of transactions, not on AirPayment’s page or a message. While a filter is on, the button is marked and the Transactions heading lists the choices in effect.
Environment is laid out in the menu itself; Status, Source and Product each open their own list, and once picked show the choice under their name.
| Choice | Options | When it shows |
|---|---|---|
| Environment | All, Production, Sandbox | Always. Your choice is kept for every Project, on this device. |
| Status | All, Completed, Refunded | Always |
| Source | All, App Store, Your server | When the app has a purchase key or a purchase reported by your server |
| Product | All, then each product | When the app has sold more than one product |
| Clear Filters | Sets every choice back to All | When a filter is on |
Status, Source and Product start over when you switch to another Project.
A new choice changes the list at once with the rows already read that match, then fills in the rest. When nothing matches, the list says “No transactions match these filters.” with Clear Filters under it.
Delete a record
- Touch and hold the transaction (on the Mac, right-click) and choose Delete Record. Or open the purchase and tap Delete Record at its foot.
- The app asks Delete Purchase Record?: “This removes the record only. It does not refund the purchase.” Tap Delete Record.
The record leaves AirPayment. The customer isn’t refunded; refunds are Apple’s.
Purchase Keys
If your app also takes payments through your own server, the server reports them to AirPayment with a purchase key. Tap Purchase Keys to see, make and revoke keys. See Purchase Keys.
Messages
| Message | What it means | What to do |
|---|---|---|
| Unable to Load Purchases, with the reason | The tab couldn’t read the purchases. | Tap Try Again. |
| A reason with Try Again, in place of the transactions | The filtered list couldn’t be read. | Tap Try Again, or clear the filters. |
| That Didn’t Work, with the reason | Deleting a record failed. The record is still there. | Tap OK and try again. |
| “Select a project in the sidebar to see its purchases.” | No Project is selected. | Pick a Project. |