Callback
Less than 1 minute
How to callback
Tips
Sandbox
, after you create sandbox order, clickSet Callback
to simulate a success callback or failure callback.Production
, only waiting for the actual payment to happen.- There will be callback only for orders created by API. Because the order created in the merchant platform payment link cannot be linked to the merchant system.
Callback Signature
For the callback notification, we will add the signature as follows, and you need to do the corresponding signature verification to verify whether the callback API signature is correct or not.
Tips
X-SIGNATURE = SHA256withRSA(smilepayz_private_key, stringToSign)
smilepayz_private_key
is smilepayz rsa private key that use to generate signature,you are not required to know.stringToSign = tradeNo + "|" + X-TIMESTAMP
checkSHA256withRSA
refer to signature
You just need to find the corresponding Platform Public Key
and verify the signature,and the value refer to Integration Info