FMX.InAppPurchase.TInAppPurchase.OnVerifyPayload
Delphi
property OnVerifyPayload;
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:
Senderis the current instance of TCustomInAppPurchase.Payloadis the developer payload string obtained from the Google Play In-apps Billing service.PayloadOkdetermines whether the obtained developer payload string is the expected string or not. If it is not the expected string, setPayloadOktoFalseto invalidate the purchase.