AcrossFlow Start free
Member migration

Phone numbers in the member export: how the new mini program recognises old members

If the export already has phone numbers, the new mini program must look members up by verified number before creating an account. Number formats, verification, and conflicts.

Most rows in the member export have a phone number, and the new system can import members by phone. The import goes smoothly. On launch day an old member opens the new mini program, signs in with WeChat, and lands on a fresh account with zero points.

Phone numbers make this far easier than an OpenID-only export, but they do not let the new app recognise anyone on its own. The numbers have to match, and the lookup has to happen at the right moment. This article covers how to bring old members back when the export has phone numbers.

The short version

Three things. Before importing, put every number in one format with its country or region code. When a member verifies a number in the new mini program, look up the old record before creating an account. Let the member confirm the record before crediting it, and treat the number as a lead, not proof. If the old mini program is still live, keep the jump from it open as well.

1. Check two things first

Can the new mini program verify a member's phone number through WeChat? It depends. Since 2024, WeChat has been rolling out its phone-number verification component to verified mini programs registered outside mainland China, including Hong Kong, Macao, Taiwan, Singapore, and Malaysia; WeChat's announcement (in Chinese) has the current list. If yours has it, use it. If not, or if the export holds emails, send your own code. If the old mini program is still open, keep the jump available too (section 6).

Where did the numbers in the export come from? One phone column can hold numbers of very different quality:

  • Numbers the old mini program verified, with WeChat's component or an SMS code, are the most reliable.
  • Numbers members typed in at sign-up without verification may be mistyped, or may belong to someone else.
  • Numbers entered by store staff or merged in from another system are usually the messiest.

Import them in batches by source, or add a column that records the source. You will want it when resolving conflicts later.

2. Number formats: where lookups fail

Merchants serving one market often have numbers stored the local way: no country or region code, sometimes with the local leading 0. When a member verifies with WeChat's phone-number component, WeChat returns the number in two parts: the code in countryCode (without a +) and the number without it in purePhoneNumber. When you send your own code, members type numbers with and without the code, with spaces or dashes. Compare the two sides as plain strings and they will not match.

Normalise both sides to international format (E.164): a +, the country or region code, and the number with any local leading 0 removed, with no spaces.

MarketCommon in old exportsNormalised
Hong Kong9123 4567+85291234567
Japan090-1234-5678+819012345678
Malaysia012-345 6789, 6012-345 6789+60123456789
Taiwan0912 345 678+886912345678
Australia0412 345 678+61412345678

On the new mini program's side, build the same format from +, countryCode, and purePhoneNumber before looking anything up. If you send your own code, have the member pick a country or region before typing the number.

The hard cases are numbers whose country you cannot tell. 9123 4567 could be a Hong Kong number or a Singapore one. If the old system served a single market, add that market's code to every number. If you have stores in several markets, add codes by store or sign-up location, and set aside the numbers you cannot place instead of guessing. A wrong code means that member is never found, or worse, is matched to someone else.

3. The order decides whether a duplicate appears

The import gives old records a phone number, but they are still not linked to the new mini program's OpenID. On a member's first sign-in, the new system finds no one under that OpenID, and most systems create a new account on the spot. Merging the two accounts afterwards is cleanup for a problem that has already happened.

Recover first
  1. WeChat sign-in
  2. Verify phone
  3. Look up record
  4. Member confirms
  5. Credit
Account first
  1. WeChat sign-in
  2. New account
  3. Zero points
  4. Contact support
  5. Manual merge
Same sign-in. Whether the lookup comes before or after the account is created changes the outcome.

New member systems usually ask for a verified phone number when the member activates membership or claims a member card. Put the lookup at that step: once the number is verified, look up the old record first, recognise the old member if one is found, and only otherwise create a new one. Do not demand a phone number the moment the mini program opens. WeChat's rules prohibit asking for phone numbers unreasonably or interrupting normal use, and act against mini programs that do.

WeChat charges per verification for the phone-number component, with a free period for mini programs registered outside mainland China during the rollout. Budget for it if you have many members.

4. Without WeChat's component, send your own code

When the new mini program cannot use WeChat's component, or the export holds emails, verify it yourself:

  • SMS codes. Cross-border SMS prices and delivery rates vary widely by country. Test with local numbers before launch, and check carrier rules for verification messages.
  • Email codes. Available for members with an email in the export. Cheap, and a good fallback for SMS.

Whichever you use, verify first and look up second. Looking up whatever number a member types in lets anyone enter someone else's number and take their points and stored value.

5. A number is a lead, not proof

A phone number helps you find someone, but it cannot decide for the member. People change numbers, families share one, and the same person may have registered more than once in the old system. Agree on the rules in advance:

SituationWhat to do
The number matches one memberShow name, points, and balance; credit after the member confirms
The number matches several membersList them all and let the member choose; never merge or choose for them
The member says "that's not me"Do not credit; hand over to support
A large stored-value balance, or a disputeCheck by hand, using a procedure agreed in advance
No matchTell the member they can come over from the old mini program, or contact support

6. Keep the jump open too

While the old mini program is still live, run both entry points:

  • Jump from the old mini program. One tap, and the old app vouches for the member. No second verification, and no number formats to match. See Only OpenIDs in the member export?
  • Verify a number in the new mini program. Independent of the old app, so it keeps working after the old app closes.

With both open, the same member may jump across and later try to recover by phone as well. Each member must be credited only once, and the new mini program, which does the crediting, has to guarantee that by checking its own records first. One more thing that is easy to miss: when the new mini program's vendor imports members, import profiles only, not points or stored value. Balances should be credited from a single source.

7. Where AcrossFlow fits

When you import a member list, AcrossFlow accepts only numbers that start with + or 00, and does not guess codes for the rest. Those members are still imported, without a phone number, and the import result shows how many there were. The new mini program's backend looks members up by verified number, gets their points and stored value, credits them once the member confirms, and reports the result, so the Dashboard shows who has migrated.

Merchants can start with When the sheet has mobiles or emails. Hand the new app's developers Look up members by mobile or email, and Get started walks through the full setup.

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.