If you fill the
redirect_url option, then a button called “return to merchant’s website” will display right after the payment is completed. The button will link to this
redirect_url. The entire payment process will be more consistent with this option.
Please ignore this section, if you don’t have needs to process your orders automatically.
We offer this option, so that you can integrate the payment button to your own system. While an order is complete, our system will access your
callback_url with a POST REQUEST.
Our system will retry 3 times until the request is successfully made, while you should return the parameter
We use a parameter
signature (sha1 encrypted) to identify the POST which is from our system.
Our Public Key is:
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqUSnx8dqJ0UC0jvFTEdL gde7BSmKi8GzDnxvu/AMQw7TG3pRKAAKQJRYUSqpgMyOwUSrv3yfu3gBJwufjWJz Kgtm8D9TOoYnZMJm4x5Lv9/EpYEg0zrAsmU/6rZJ9mYRaNPrt811Thju0/19fa77 XnsQ78UmvV4zCePkKAArO70SsU/hf1SinDX//t0a3/UOk0DhKoJZpzjb5mb+dcXM GOJKpAONDGDK2UE1W67HmIG72b/R/G8CAFYbw4MGCjb0/Ee6obcAGK3Cj1JcuHjH NzymBH0NuDvyz7fJuTg9Eplnh1blNeCJoG/vv7VLZNKetTMTx+H2X534RUQ4XheX 4QIDAQAB -----END PUBLIC KEY-----
The POST contains a list of the infomation related to the order, you can check out the parameters in the sample code.
php sample code