# Guidelines for detecting mobile phone billing errors

When using the mobile phone number rapid verification component / mobile phone number real-time verification component, if you encounter an error in the number of official billing and the number of Weixin Mini Program reports, you can check this article.

# 1. Check Weixin Mini Program for reporting statistical caliber

It is recommended to use Weixin Mini Program official We analysis reports.If you use a different reporting method, verify that the reporting network requests within the statistical time frame are normal and that the correct retry logic is in place when the report fails.
In addition, note whether other anomalies may occur in Weixin Mini Program between the time it gets the phone number and the time it initiates the report, causing the report to break and causing statistical errors.
The specific method of reporting the Weixin Mini Program mobile number using We analysis is as follows:

  • Access we analysis platform .
  • Under Data Management - Report Management, you create events that are reported to a location according to your business needs.
  • Weixin Mini Program In the logic, the Mini Program handle number authorization callback event is reported to the corresponding buried point.
  • Weixin Mini Program After the release, go to [Numerical Analysis - Behavior Analysis - Event Analysis] to create a corresponding event analysis.
  • Open the data bar to view the curve.

Detailed actions can be found in the event analysis document .
If the reporting statistical accuracy is confirmed, steps 2 may be taken.

# 2. Check Weixin Mini Program Phone number button logic

Check the logic of the phone number authorization button, trigger bindgetphonenumber callback, whether immediately hidden phone number button component, or set to the disabled state; If not, the user may continue to click the button, resulting in additional mobile number authorization and billing.
If you confirm that there is no error, you can proceed to step 3.

# 3. Check Weixin Mini Program jump logic

Check the Weixin Mini Program code logic to see if [[] is invoked during the Mini Program's handset number authorization. wx.reLaunchwx.navigateTowx.redirectTowx.navigateBack Wait to jump to the class interface. Calling such an interface when the phone number authorizes the pop-up may result in a bindgetphonenumber callback not being received correctly.
If you confirm that there is no error, you can proceed to step 4.

# 4. Still unresolved.

If you still can't determine why, you can post to WeChat Open Community .
Please provide authorized mobile phone number reporting data for the full day of yesterday in the following format:

timestamp,openid
1702036265,o7esq5LyxOBDdEwP4hY4oVgwSjTE
1702036277,oACo74-LaazkCVfp8c9cihawu91E
...

The timestamp is a second Unix timestamp, and we will compare and analyze the data provided.