game / pragma.inventory / InventoryService / finalizeInProgressOrdersV1 /
finalizeInProgressOrdersV1 #
suspend fun finalizeInProgressOrdersV1(session: PlayerSession, request: InventoryRpc.FinalizeInProgressOrdersV1Request): InventoryRpc.FinalizeInProgressOrdersV1Response
Finalizes all in-progress orders that were previously started using the InitializeOrderV1Request, but were not finalized and/or fulfilled.
Internally calls PaymentService FinalizeInProgressOrderPartnerV1 on behalf of the player to attempt order recovery. Will rethrow errors thrown by this Game node’s configured Social PaymentService.
PragmaResultErrors
- Rethrows errors returned from PaymentService FinalizeInProgressOrderPartnerV1Response.