Balances keep moving after the import
The export is the balances at one moment. While the old mini program stays open, points and stored value keep moving. How to update the import without crediting anyone twice.
Tuesday’s import reconciled. On Wednesday a regular tops up stored value in the old mini program, then opens the new one and sees Tuesday’s balance. Support can prove the file. They cannot explain the top-up.
An export is the balances at one moment. If the old mini program stays open for orders, points and stored value keep moving after that moment. This is how to carry those movements across without paying the same balance out twice.
During the overlap, each balance is spendable in one place. Members who have not been credited yet are updated by importing the latest balances again. Members already credited in the new mini program need an adjustment there. A second import does not change what they already received.
1. Decide which till is open
The failure mode is a prepaid balance that can be spent in both mini programs. The member has not jumped, so the old app still debits the original stored value. If the new app has also given them Tuesday’s balance, one payment funds two wallets.
Write the rule in operating language. Until the new mini program has credited a member, they earn, spend, and redeem only in the old one. Once they are credited, the old mini program refuses further movement on that balance, and the new one is the only till. If the old app cannot switch a single member off, stop earn, top-up, and spend for everyone before the shutdown date, and plan to post the movements up to that stop.
Stored value is money the member has already paid. Who books the difference, and whether bonus credit counts, belongs in the same conversation as points, tiers, and stored value. The books still have to record the number.
2. Four movements, two populations
Split every later export by whether the new mini program has already credited that member. “Not started” on the dashboard means the import can still change what they will receive. “Migrated” means it cannot.
- Balance moves on the old app
- Export again
- Re-import latest balance
- Credited once, at the jump
- Balance moves on the old app
- Re-import
- Credit unchanged
- Adjust the difference in the new app
| Movement | Not credited yet | Already credited |
|---|---|---|
| Points earned or reversed | Export the new balance and re-import | Post the difference in the new mini program |
| Stored value topped up or spent | Re-import the latest balance; old app stays the only till | Stop further spend on the old app and adjust the difference in the new one |
| Coupons redeemed or expired | Extra columns are replaced on re-import; not yet issued in the new app | Void already-used coupons in the new app instead of re-issuing from the sheet |
| Members who joined after the first file | New OpenID appears in the next export as not started | Not applicable |
A tier is usually a status computed from history, not a balance to paste. Spend during the overlap changes that history. Recompute it in the new app under the rule you already published.
3. What a second import actually replaces
Import the same OpenID again and the new sheet replaces points, stored value, and any extra columns. A name column replaces the name. A mobile or email cell with a value replaces that value; an empty cell leaves the previous one in place. Rows you leave out of the second sheet stay as they were. A sheet of corrections does not delete anyone, and it does not zero anyone you forgot.
Pick one habit and write it down.
- Full file. Export everyone you still intend to migrate. A missing row keeps the old balance, so reconcile the row count against the previous snapshot before you import.
- Changed rows only. Practical when few balances move each day. Each row must carry the latest balance, not the delta. The sheet still needs an OpenID column and at least one of points or stored value.
The new mini program receives whatever AcrossFlow holds at the moment of redeem. For someone who has not jumped, updating the sheet before they jump is enough. They are credited the updated balance, once.
4. Already credited means the new app owns the adjustment
The new mini program credits each member once, and it is the new app’s job to enforce that. Replacing the numbers in AcrossFlow after the credit does not rewrite the credit. A member who jumps again still receives their full balance from the redeem call. If the new app does not recognise “this memberId is already credited”, it will pay the balance out a second time.
Read the three dashboard states against the new app’s own ledger:
- Not started. They have not come across. Another import changes what they will receive.
- Awaiting result. They reached the new mini program, and it has not confirmed the credit. Check the new app’s ledger before you trust the dashboard. A credit that succeeded and a report that failed is still a credit. Do not credit it again.
- Migrated. The new app confirmed the credit. Later movements are adjustments in the new app, keyed by member ID, stored as their own lines.
An adjustment is the latest balance minus the amount already credited. Posting the latest balance on top of the original credit doubles it. Record why the line exists: a spend on the old app, a refund, a bonus, a manual fix. Where the old ledger cannot explain the figure, leave the row for a person, and leave the member’s balance untouched until they do.
5. On shutdown day, stop the till before the last export
The order is the control. Swap two steps and you get a stretch of trading nobody captured.
- Stop earn, top-up, and spend on the old mini program.
- Export once more. Record the time, the filters, the row count, and who ran it. Use the same definitions as the pre-import checks: what points include, whether stored value includes bonus credit, at most two decimal places, no currency conversion.
- Re-import for members who are not started.
- For awaiting result, settle the new app’s ledger first. Either they have not been credited and the new sheet stands, or they have and only the difference moves.
- Post the final adjustments for migrated members.
- Then take down the jump, the old backend, and the old mini program.
Members who appear after shutdown can no longer be vouched for by the old app. Their balance is the last export, handled manually. Do not go back to an earlier file from while the till was still open.
6. Rows that should stay visible
- Balances changed on both sides during the overlap.
- Rows present in the first export and missing from the last. Confirm a closure, a merge, or a filter before you treat the balance as gone.
- Awaiting result, with no credit in the new app’s ledger. Send the member through the jump again only after that check.
- Stored-value differences the old ledger cannot explain.
Name an owner and a deadline for each. When support answers, they should be able to say which export, which later transaction on the old mini program, and which adjustment posted. “It will sync” is not an answer you can reconcile.
On one page
- One till: uncredited members spend on the old mini program; credited members spend on the new one.
- Second import: latest balances, not deltas; either a full file or changed rows, not both habits at once.
- Already credited: adjust in the new app, and deduplicate on member ID.
- Awaiting result: the new app’s ledger decides, not the dashboard alone.
- Shutdown day: stop writes, export, import and adjust, then take the old app down.
- Exceptions: both sides edited, vanished rows, unexplained stored value, each with an owner.
Import errors and skipped rows are covered in Member import troubleshooting. How a repeated OpenID replaces points and stored value is in Import members.
Platform rules and APIs change. This article is general guidance, not legal advice, and not a guarantee that a particular migration is permitted. Verify the current requirements with the platform and qualified advisers.