当前位置:网站首页>Call Huawei order service to verify the purchase token interface and return connection reset

Call Huawei order service to verify the purchase token interface and return connection reset

2022-07-05 00:51:00 Huawei Developer Forum

Problem description

Refer to Huawei's official 《​ ​Order Service validation purchase Token​​》({rootUrl}/applications/purchases/tokens/verify) Interface document , Call the interface to verify the purchase Token when , Only return Connection reset, No data such as the response example in the document is returned :

 Call Huawei Order Service validation purchase Token Interface returns Connection reset_ Technical support

Problem analysis

The code is written with reference to the examples in the official documents , Unable to locate the cause of the problem , Contacted Huawei technical support ( can ​ ​ Bill of lading ​​ contact ) Help locate , Send our request parameters and the requested link address to Huawei technical support for a look , When you see our request link , Say our site address (rootUrl) Wrong choice , Used the site address in Germany ( I copied the site address in the sample code ).

 Call Huawei Order Service validation purchase Token Interface returns Connection reset_ Technical support _02

however , This is just an example , Our applications should be put on the shelves in the Huawei application market , According to our actual business , Refer to and select... In the document APPGallery Site address . Huawei SDK Refer to the site address involved ​ ​ Site information ​​.

 Call Huawei Order Service validation purchase Token Interface returns Connection reset_ Link address _03

Problem solving

Change to AppGallery Site -》 Order-》 After China site , The message returns normally , Problem solving .

原网站

版权声明
本文为[Huawei Developer Forum]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141105593837.html