How does Mini Program pay to debug locally?

how does Mini Program pay to debug locally? is it necessary to apply for a payment authentication number to debug?


can be tested locally. A QR code pops up on the developer's tool and can be paid by scanning the code. The client has a callback after payment.
the server callback address is passed by itself in the unified order issuing API, and can be called back to the local development computer using private network interpenetration.
the specific condition is that the official account that needs to be bound has already opened WeChat Pay. It seems that the callback address does not need to be set in the backend of WeChat Pay merchants.
I just got through yesterday. It must be no problem.


payment cannot be debugged locally, and a secure domain name must be set for payment, so payment testing can only be carried out when it is published online.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e984fe-16c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e984fe-16c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?