FMX.InAppPurchase.TCustomInAppPurchase.OnVerifyPayload
Delphi
property OnVerifyPayload: TIAPVerifyPayloadEvent read FOnVerifyPayload write FOnVerifyPayload;
C++
__property TIAPVerifyPayloadEvent OnVerifyPayload = {read=FOnVerifyPayload, write=FOnVerifyPayload};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.InAppPurchase.pas FMX.InAppPurchase.hpp |
FMX.InAppPurchase | TCustomInAppPurchase |
Description
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.