1. After generating the public key and private key, do you need to upload the public key to the Alipay open platform to obtain the Alipay public key and how to use the public key and private key in the interface? Please use Alipay signature tool to verify the signature problem. What's more, I was cheated for nearly two hours. After receiving the asynchronous callback from Alipay, you can postpone the signing, and then enter the Alipay debugging tool to review the address of the callback just now. At this time, I need to pay attention, because the parameters of the callback have been spliced after the url, and the signature signed by RSA has special characters, and then the signature is delayed.
2. Because there is no sdk in WeChat, there are relatively many parts that need to be written by yourself. When I docked with ios, I found that I can't adjust WeChat anyway, but Android can. After wasting nearly half a day, I finally modified the length of a parameter and found that ios can. Among them, there is a parameter timestamp in the dunning interface. Note that the length of this parameter is 10 bits, but the time stamp length of java is 13 bits by default, and it was later changed to 10 bits. In addition, the domestic version of WeChat has three different interfaces: WeChat official account payment, h5 payment and app payment. Both h5 payment and app payment can be applied on the WeChat open platform, but the official WeChat account needs to be bound with the appid of the official WeChat account on the merchant platform. It should be noted that different AppIDs are required, but the merchant number can be the same.
One of the biggest characteristics of the international version is its slow efficiency, which is too slow. Compared with China, more interfaces are customs declaration interfaces.
The international version of Alipay is completely different from the domestic version. The gateway used is an address starting with mapi. In addition, if rsa is used, the public key needs to be sent to the overseas team of Alipay (they need to return the Alipay public key). One of the biggest problems encountered in making an international version of Alipay is the signature problem, and the Alipay signature extension tool can also be used. The customer service also asked for a long time, but after waking up, I kept reporting the signature error. If there are special characters (such as symbols) in the value of the passed parameter, @,/,+,{0} and so on. ), then the value needs to be URL encoding, so you must pay special attention to this, otherwise you will kill yourself. In addition, the international version of Alipay needs a fund unit, and there is no RMB settlement yet, so it was developed in US dollars.
Don't add +86 to the international version of WeChat when you apply for filling in your mobile phone number, or you will be cursed if you set the api key. In addition, the international version of WeChat needs to manually bind the merchant number and appid.