After payment#
When the user completes the payment order, payment system need notify the game to send out the order through the server callback.http://mm-gw.mm.quantum-web-platform.com/pay/quantum
Parameters#
| PARAMETER | TYPE | REQUIRED | DESCRIPTION |
|---|
| uid | string | true | player's account |
| serverId | number | true | Game Server ID |
| cpOrderId | string | true | Order ID from the content provider |
| productId | string | true | Prodcut ID in game |
| productPrice | number | true | Product price |
| extParams | string | true | Any extra parameters in string |
| ts | number | true | Unix timestamp |
| sign | string | true | Data sign |
Create Data Sign#
| PARAMETER | VALUE |
|---|
| cpOrderId | c9c35cf409344312146fa7546a94d1a6 |
| serverId | 10001 |
| account | test |
| price | 4.99 |
| productId | wm.spin.1 |
| ts | 1682319749000 |
| sign | 39E27178DE3254875D8470AB7A13D912 |
Using the hash function and secret key MKiLHWZvGPTq2258 we get hash.39E27178DE3254875D8470AB7A13D912Modified at 2023-04-25 05:36:33