Wechat lifted the blockade on app payment.

problem description

the background of the environment in which the problem occurs

because the customer information was not given in time, android colleagues first packed the app docking interface with the Wechat data of other projects. The application signature is not consistent with the signature on the open platform. The first payment can be adjusted, but then the payment cannot be adjusted. Wechat has blocked the merchant information and saved it on his mobile phone at this time. After that, no matter how to initiate the payment, Wechat"s payment cannot be called, and the error code returned is-1.

*: -1  :APPIDAPPIDAPPID

what methods have you tried

because the official error code description-1 may be a signature error. I will use the Wechat materials of other projects, write and package them to generate app, test payments. It is also the first time to be able to pay successfully, and then the payment is not good. I also read the log and compared the data with the signature to confirm that the signature generated by the written parameter is consistent with the signature of another successfully paid item, eliminating the signature problem.

after a whole day of struggle, various assumptions, control variable methods, logs, various debugging, and finally abandoned treatment, Wechat was reinstalled. However, a miracle still happened. after reinstalling Wechat, with the official information provided by the customer, we were finally able to carry out WeChat Pay perfectly.

then the problem is, when I restore Wechat to the backup version, the blocking of app still exists, and app is still unable to adjust the payment. As for reloading Wechat, forget it. After all, a lot of information is needed. Now look for a solution that can remove this blocking or know where the blocking file is, as long as it can be deleted.

finally, Wechat"s pit is still super. No, no, no.

Nov.19,2021

after that, I logged in with Wechat of android, which flashed when I first set it up, just like the failure of payment adjustment. Then the second time Wechat was transferred to login and it was a success. After that, even the blockade of payment was lifted. Although we do not understand its principle, it is a better solution. If a friend's app meets WeChat Pay and encounters-1 and ensures that the signature is correct, you can learn from this solution.

Menu