paymentManager

paymentManager

payment manager object
Source:

Methods

(static) addSerializedPayment(blob, callback)

Adds a serialized payment
Source:
Parameters:
Name Type Description
blob String the base64 serialized representation of the payment
callback function

(static) isUserPayingForDefault(marketplace, nativeItemId, callback)

Gets the offer object for the specified native item and marketplace
Source:
Parameters:
Name Type Description
marketplace String the marketplace where the purchase is done ['appleStore', 'googlePlay']
nativeItemId String the id of the native item
callback function

(static) isUserPayingForDefault(callback)

Returns whether the user is paying for default subscription
Source:
Parameters:
Name Type Description
callback function