Register a function called when a transaction is approved.
Optional callbackName: stringRegister a function called when a transaction is finished.
Optional callbackName: stringRegister a function called when a transaction is initiated.
Optional callbackName: stringRegister a function called when a transaction is pending.
Optional callbackName: stringRegister a function called when a receipt is updated.
Optional callbackName: stringRegister a function called when all receipts have been loaded.
This handler is called only once. Use this when you want to run some code at startup after all the local receipts have been loaded, for example to process the initial ownership status of your products. When you have a receipt validation server in place, a better option is to use the sister method "receiptsVerified".
If no platforms have any receipts (the user made no purchase), this will also get called.
Optional callbackName: stringRegister a function called when a platform's storefront country code changes.
Fires when a platform's cached value transitions to a different non-empty string. Does not fire for no-op refreshes, failed refreshes, or transitions to undefined (the cache preserves the last-known value).
Callback invoked with the updated Storefront
Optional callbackName: stringRegister a function called when a receipt failed validation.
Optional callbackName: stringRegister a function called when a receipt is verified.
Optional callbackName: string
Store events listener