By wx. ChooseCard choose card voucher, after get encrypt_code, called decoding interface decode Code always fail, return is as follows:
Errcode: 40075
Errmsg: invalid encrypt code hint: [U77xuA0696ent3]
CodePudding user response:
Usually was transformed into a space "+",
CodePudding user response:
Is it the problem of transcoding
CodePudding user response:
There is no "+" also not line, say I use encodeURIComponent process parameters, or not, the same mistake! We have the call is successful?
CodePudding user response:
reference lxy_nasca reply: 3/f there is no "+" also not line, say I use encodeURIComponent process parameters, or not, the same mistake! We have the call is successful? You put your encodeURIComponent parameters of output at the string of encrypt_code no # '+' is a plus sign is transformed into a space CodePudding user response:
reference 4 floor q81999008 response: Quote: reference lxy_nasca reply: 3/f There is no "+" also not line, say I use encodeURIComponent process parameters, or not, the same mistake! We have the call is successful? You put your encodeURIComponent parameters of output at the string of encrypt_code no # '+' is a plus sign is transformed into a space Output, "+" has become a % 2 b CodePudding user response:
reference 5 floor lxy_nasca reply: Quote: refer to 4th floor q81999008 response: Quote: refer to the third floor lxy_nasca response: There is no "+" also not line, say I use encodeURIComponent process parameters, or not, the same mistake! We have the call is successful? You put your encodeURIComponent parameters of output at the string of encrypt_code no # '+' is a plus sign is transformed into a space Output, "+" has become a % 2 b Then don't use encodeURIComponent Direct post {" encrypt_code ":" axasfqw + _xasda + + Asxas1515 "}//like this The past request WeChat decoding CodePudding user response:
Then don't use encodeURIComponent Direct post {" encrypt_code ":" axasfqw + _xasda + + Asxas1515 "}//like this The past request WeChat decoding Is the earliest direct post, no use encodeURIComponent, also not line CodePudding user response:
Seems to be no solution, alas! CodePudding user response:
I am here and you said is the same way, I feel or you check your last passed to the json string which WeChat, may be it is due to the last you joining together one more Spaces caused the data problems, Before I also have such errors, don't often go to stick to discuss also please add QQ 247546670 CodePudding user response:
To meet the same problem for help CodePudding user response:
Meet the same problem as the building Lord, there is also another: View the demo found in js code should be through the following address to obtain the real code, but ajax cannot cross domain access (at least the following address don't support cross-domain values) http://203.195.235.76/jssdk/decrypt_code.php? Code= So even if the original poster problem solved, how to obtain real code? Tencent never provide decrypt_code. PHP source code, documentation and no references to decoding algorithm, so fucking pissed, don't know how the great god do card stamps? In the CodePudding user response:
Great god is there????? CodePudding user response:
You are just click go in, and then put the address to copy down? If yes then you copy down the URL for a DECODE, so is your true encryption of a CODE CODE http://tool.chinaz.com/Tools/URLEncode.aspx Time to do this is before I make a summary, there is a mention this: http://blog.csdn.net/u011738153/article/details/50457167 Part I posted: 4, card verification: Through the card parameters: the roll will jump to external links in Card_id=p - yZQwrZrQemMhqVYQLtkoYktA -e Encrypt_code=pd0vTUHSHc9tMUCL2gXABcUmINm6yxqJh0y9Phsy63E % 3 d Openid=o - yZQwhCG1_x9bM52 - y4pF69Fwgc Such as: http://m.j1.com/? Card_id=p - yZQwrZrQemMhqVYQLtkoYktA - E& Encrypt_code=pd0vTUHSHc9tMUCL2gXABcUmINm6yxqJh0y9Phsy63E % 3 d & amp; Openid=o - yZQwhCG1_x9bM52 - y4pF69Fwgc Online decryption card interface: https://api.weixin.qq.com/card/code/decrypt? Access_token=TOKEN Parameters directly copy from the URL (note: remember to DECODE the decoding) : { "Encrypt_code" : "pd0vTUHSHc9tMUCL2gXABcUmINm6yxqJh0y9Phsy63E=" } Returns: { "Errcode" : 0, "Errmsg" : "ok," "Code" : "751234212312"//decrypted real code } Cancel after verification interface: https://api.weixin.qq.com/card/code/consume? Access_token=TOKEN { "Code" : "ZYF670F61E," "Card_id" : "p - yZQwhITydjFEBGnbJUA37uPy7A "} CodePudding user response:
I'm dizzy,, so old posts all turn out CodePudding user response:
Oh my god, I also encountered this problem, to solve, don't know what to do, dare in 2019 whether or not the original poster has been solved