Ilya Shkura
EN UK RU

Cases · App check

Plan payments and phone apps added to an AI-built portal, checked and fixed

A sample engagement: the portal and its studios are fictional and hold test data, Stripe is in test mode, and the live portal was not touched. The payments and apps were built with Claude Code for this case; every finding comes from a real check of the build, on the website, on an Android emulator and in the iPhone simulator.

27problems in plan payments and phone apps an AI added to a client portal; 25 fixed after ten rounds

Where it stands

Fixed

25 of the 27, among them all 3 critical: the cards that kept paying after a handover, a plan given free and a suspension. 8 of the 9 problems that would have stopped the apps at the stores' review.

Still open

One high fixed in part: the email link in the store builds, judged from the code. One left to the founder: Stripe's own emails. Of the problems the fixes brought, 2 high stay open, and both need Stripe to fail to answer twice in a row; 3 more high are fixed in part, and the plan change in the US build is open.

Before real customers

Clear the test and demo records; switch on Stripe's emails; the live Stripe key, VAT at Stripe and the real privacy policy and terms. For the stores: developer accounts, the plans as store products, signing on a Mac, and a run on a real iPhone.

The case

Goal

Getting paid adds money to everything a portal already does: a trial, moving up and down, cancelling, a failed payment, a refund, a studio handed to a new owner, a suspension, a plan the founder gives free. A studio paying in a phone app has to go through Apple's and Google's own purchases, with their rules on links, sign-in and deleting an account. The question: in what the builder handed over, does the money follow the founder's rules in every one of these cases, and would the stores accept the apps?

Challenge

The builder handed it over as working, and on the normal path it was: a studio could buy a plan on the website, renew, have a payment fail and be retried, and cancel to the end of the month. Its own words: "Cancelling is always allowed, even if the studio is bigger than Free allows." What was wrong sat on the less usual paths, which are the ones that cost money: studios that had paid plans before payments existed, a handover, a plan given free, the app on a phone, and the stores' rules.

Solution

First the founder's money table was written down: for every event, from buying to a refund, a handover, a suspension or a plan given free, what should happen to the plan and to the money, with the founder deciding the unclear cases. Then each cell was tried against Stripe in test mode, with time moved through trials, renewals and retries. The apps ran on an Android emulator and in the iPhone simulator and were compared with the App Store and Google Play rules on payments, sign-in, privacy and deleting an account. The fixes went back to the builder in plain words, in ten rounds; in the second the builder added the stores' own purchases, and each round was checked again for what it fixed and what it broke.

Outcome

27 problems in what was handed over: 3 critical, 9 high, 5 medium, 10 low. The worst cost money: after a handover the previous owner's card kept paying, a plan the founder gave free went on charging, and a suspended studio was charged and could not cancel. Studios already on paid plans kept them for nothing, an owner whose studio was bigger than Free could not cancel, the apps sold plans in a way the stores refuse, clients could not sign in to the app, and on iPhone and Android the menu could not be tapped. Nine problems would have stopped the apps at Apple's or Google's review, five in the version handed over and four brought by the fixes; eight are fixed. Two of the nine were judged from the code and settings, not a run: taking a photo on iPhone, and a plan change in the US build, the one still open. Why ten rounds: in the second the founder asked for the stores' own purchases, which brought problems of their own; then the founder settled rules the money table had not covered, such as how long to wait when the bank asks to confirm a payment; the last rounds dealt with rarer mixes of a cancel, a handover and a payment, until every new one needed Stripe to fail. The iPhone app ran only in the simulator, and purchases in RevenueCat's Test Store. One build: the numbers describe it, not a rate for such apps.

The same packaging, tried on a Base44 app

A booking app built in the Base44 editor was exported and packaged for Android the same way. As exported it signed no one in, because every request went to the phone itself. One line fixed that; Google sign-in and signing out still failed, the editor's access rules held with one gap, and the export published a second copy of the app without asking.

The note, with pictures: Exported from Base44 to a phone, the app signed no one in →

Service

The same check for your app before the stores

You send the code, not your passwords or keys. Every problem comes with an example of what happens to the money, and every fix is checked again for what it broke.

sebeksmail@gmail.com · Services