Payment callback and verify login status

Developers generate RSA key

Build from website:http://web.chacuo.net/netrsakeypair(Or https://rsatool.org/)

If the developer server uses C# language, the private key needs to be converted to XML format, which can be converted online through the following tools。

http://superdry.apphb.com/tools/online-rsa-key-converter

Developers verify that the key pair is symmetric

Login website:http://tool.chacuo.net/cryptrsakeyvalid

Upload the public key in the key pair to the MG background

How to obtain MG public key

Log in the MG background, as shown in the figure above to obtain the MG public key. If the developer server uses C#language, the MG public key needs to be converted to XML format. In the example code, the converted public key is used。

Payment callback

Example code description

PHPJAVA

Signin interface verification signature

Example code description

PHPJAVA