1. Problem description:
/consumer/cn/doc/harmonyos-references-V5/iap-data-model-V5#section260562820380 The data types in the document are as follows:
purchaseToken、subscriptionId、subGroupGenerationId、purchaseOrderId、productId、applicationId、offerId
Do these key fields have a description of length?
Solution:
The corresponding fields are as follows:
purchaseToken-512、subscriptionId-64、subGroupGenerationId-512、purchaseOrderId-64、productId-256、applicationId-128、offerId-256
2. Problem description:
In the subscription payment scenario, the developerPayload field is passed. Will the value of this field continue to be returned to the contract when the order data for subsequent renewal?
Solution:
developerPayload retains information on the merchant side and is passed in by the developer when calling the payment interface; if the field has a value, the value of this field will be loaded in the subsequent renewal purchase order information.
The value at the time of signing will continue to be returned, and the server key event callback notification result will be 100% returned to the application as it is after payment is successful.
3. Problem description:
If the user does not confirm the order for the subscription renewal order in the server-side key event notification after the user has successfully subscribed, please ask:
1. Will the user’s renewal order be refunded or terminated? If it is refunded/unsandbox environment will have the same result?
2. Will there be renewal in the future
Solution:
Have the same results?
2. Will there be renewals in the future?
Subscription scenarios. If the purchase is successful, the shipment will not be confirmed, and there will be no refund/termination. Only renewal/purchase other products in the same group cannot be continued; if the subscription lasts for more than 180 days (the current specifications) the subscription will be cleaned
4. Problem description:
After the system language is set to English, it is called and the returned Chinese is still in it.
Solution:
This configuration is not displayed according to the system language, but is displayed according to the registered country. The current account registration supports China, so it is currently only supported for displaying Chinese.