Alipay service window configuration signature

Recent studies Alipay small program, it found that sending a message template requires a service window support, so signed up for a service window, problems occur when configuring the services gateway, has been the validation fails, now for everyone to share specific methods

First, referring to this document https://docs.open.alipay.com/291/105971, download Alipay open platform [assistant], the above keys secret key length and format do not move directly generate keys, thus generating the application of [private] and [public] application
back to the development of generation after application configuration page to configure the interface endorsement of the way, the first time the developer may be required to verify the phone number, after verification is complete, click on the application to replace the public key link, the public key generated above applications fill to click save settings, so that you get a [public] Alipay.

Demo download service window, deployed to the server, the ALIPAY_PUBLIC_KEY fill [] Alipay public, PRIVATE_KEY fill in the application [private], PUBLIC_KEY fill in the application [public]. At the same time fill in the application APP_ID and PARTNER, PID PARTNER which is in https://openhome.alipay.com/platform/accountSetting.htm address obtained
last saved, start the service, click Settings in the application gateway, enter the address of your deployment + / gateway.do, click OK, then if previously entered is correct, then it is a success

Write more chaos, forgive me

the above

Guess you like

Origin blog.51cto.com/969346/2444109