FMX.InAppPurchase.TInAppPurchase.OnVerifyPayload
Delphi
property OnVerifyPayload: TIAPVerifyPayloadEvent read FOnVerifyPayload write FOnVerifyPayload;
C++
__property OnVerifyPayload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TInAppPurchase |
Description
Triggered after obtaining the developer payload string.
FMX.InAppPurchase.TInAppPurchase.OnVerifyPayload inherits from FMX.InAppPurchase.TCustomInAppPurchase.OnVerifyPayload. All content below this line refers to FMX.InAppPurchase.TCustomInAppPurchase.OnVerifyPayload.
Triggered after obtaining the developer payload string.
This event provides the following arguments to its event handler:
Sender
is the current instance of TCustomInAppPurchase.Payload
is the developer payload string obtained from the Google Play In-apps Billing service.PayloadOk
determines whether the obtained developer payload string is the expected string or not. If it is not the expected string, setPayloadOk
toFalse
to invalidate the purchase.