Appearance
Pay-In Callback
- When order has been paid, Server will sent a callback to your server
- Requests use http-form-post encoding
application/x-www-form-urlencoded - Gateway :
notify_urluploaded in Create request paramters - If you need create a order with money of
100.00, and your client paid30.00, this order is also considered as failure(cheatting), no callback will be send - when you sucessfully start a test order, you can ask service man to send a
test-callbackfor you, but the money will be set tozero, because you don't actually paid for this order - you can use postman to test your callback url like this, we will send notification in the same form

The Request paramters :
| Field | Meaning | Type | Required |
|---|---|---|---|
| order_sn | Uploaded in Create request paramters | String | True |
| money | Uploaded in Create request paramters | Integer | True |
| status | 1 means this order is paid, since only paid order will send a callback, so this field is always 1 | Integer | True |
| pay_time | paid time | String | True |
| msg | order message | String | True |
| remark | uploaded in Create request paramters | String | False |
| sign | md5_hash you need re-caculate and verify your sign value with this one, if doesn't match , means this callback is not from LG System | String | True |
The Response
- When your sever receive the callback, you need return a pure string
"ok"(without the double quotes) meaning that you got this callback - If no
okis returned, the LG system will retry 4 more times of callback
ok