Different coding formats lead to the appearance of Chinese garbled codes, and the parameter verification signature fails.
Add the form tag attribute accept-charset = "utf-8" o nsubmit = "document. Charset =' UTF-8'' to set the submission format.
You can get the form from the back end and replace it with response. data.detail.replace('
Alipay PC scan code payment or H5 payment, browser form submission (Chinese garbled), invalid signature.