Alipay - The system is busy, please try again later. Error code ALI40247

==========Alipay - The system is busy, please try again later. Error code ALI40247============

Due to the upgrade of Alipay api and sdk, it has been upgraded to App payment. When connecting to the new sdk, ALI40247 appeared when submitting the order. The information in Alipay has been configured, the application has been created, and the encryption method is RSA2. Finally the problem is solved. The reasons for this problem are summarized as follows:

1. The previously assigned key is incorrectly assigned. Use the tool provided by Alipay to regenerate the match.

2. The token parameter cannot be passed, and the NotifyUrl callback address cannot contain a token.

3. Alipay has been upgraded, the previous encryption parameters have changed, and the server needs to be re-modified.

 

The following documents are useful:

https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.6DRZye&treeId=204&articleId=105465&docType=1

 

https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.NdStKw&treeId=291&articleId=106096&docType=1

 

Relevant ios\android Demo (Note: You can download the ios demo first, configure your own application information, run it locally, and see if you can pay, if it can show that your key and related information are OK):

https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.TZxaVI&treeId=54&articleId=104509&docType=1

 

The latest example document of the java server:

https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7629140.0.0.CQyP0i&treeId=54&articleId=106370&docType=1

 

If it doesn't work, you can ask Alipay online technology:

https://cschannel.alipay.com/newPortal.htm?scene=mt_zczx&token=&pointId=&enterurl=https%3A%2F%2Fsupport.open.alipay.com%2Falipay%2Fsupport%2Findex.htm

 

======================================================================

When Alipay refunds, the refund can be successful, but the request result is abnormal during signature verification:

 com.alipay.api.AlipayApiException: sign check fail: check Sign and Data Fail!

The reason is: the public key of the back signature is not the same as the public key at the time of payment, which is a mistake. As shown in the figure:



 View the application public key, which is the public key required for payment. Check the Alipay public key, which is the public key required for signature verification. The two are different, the latter is automatically generated based on the former

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326200041&siteId=291194637