Prepare receipt information
For the app server to request receipt verification, the app client must pass the sealed receipt and the purchase information received from the Hive Axyl server to the app server. When Save payment result data and confirm authorization succeeds after the Steam Overlay authorization, collect the values received in Step 3. Purchase a product as shown below and pass them to the app server API implemented by your app. The app server puts each value into the field with the same name in the receipt verification request.
Consumable products
Steam payments support only consumable products, so pass the following values required for the consumable product receipt verification request.
axylReceipt:Data.AxylReceiptfrom the payment session initialization success response. It is a sealed receipt issued by the Hive Axyl server, so use the original value without modificationproductId:Data.ProductIdfrom the same responseaccountUuid: The value created in Generate an AccountUuidrequestType:1for a new purchase,2for a purchase recovered through Restore purchases- Optional:
orderIdandstoreTransactionId, which containData.OrderIdandData.StoreTransactionIdfrom the same response - Optional: Values such as
price,currency,iapPayload, andserverIdthat you put in the payment result saving request
For a purchase recovered through Restore purchases, pass AxylReceipt, ProductId, OrderId, and StoreTransactionId contained in RestorePurchase of the restoration response in the same way.
Next steps
On the app server, verify the receipt with the Hive Axyl Server API.