IOnlineStore::BeginPurchase

Begin a purchase transaction for the product which relates to the given index

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineStoreInterface.h

Include

#include "Interfaces/OnlineStoreInterface.h"

Syntax

bool BeginPurchase
(
    const FInAppPurchaseProductRequest & ProductRequest,
    FOnlineInAppPurchaseTransactionRef & InReadObject
)

Remarks

Begin a purchase transaction for the product which relates to the given index

Returns

  • whether a purchase request was sent

Parameters

Parameter

Description

Index

The id of the object we would like to purchase.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss