Skip to content

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.AxylReceipt from the payment session initialization success response. It is a sealed receipt issued by the Hive Axyl server, so use the original value without modification
  • productId: Data.ProductId from the same response
  • accountUuid: The value created in Generate an AccountUuid
  • requestType: 1 for a new purchase, 2 for a purchase recovered through Restore purchases
  • Optional: orderId and storeTransactionId, which contain Data.OrderId and Data.StoreTransactionId from the same response
  • Optional: Values such as price, currency, iapPayload, and serverId that 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.