MCPcopy Create free account

hub / github.com/j3k0/cordova-plugin-purchase / functions

Functions1,331 in github.com/j3k0/cordova-plugin-purchase

↓ 2 callersMethodadd
Add a receipt to the validation queue. It'll get validated after a few milliseconds.
www/store.js:561
↓ 2 callersFunctionbillingPeriod
(p)
src/windows/InAppPurchaseProxy.js:406
↓ 2 callersMethodbuy
Initiate a purchase flow
capacitor/src/definitions.ts:22
↓ 2 callersMethodbyPlatform
()
www/store.js:1412
↓ 2 callersMethodbyPlatform
()
src/ts/internal/register.ts:67
↓ 2 callersMethodcallOnChange
(transaction)
www/store.js:1459
↓ 2 callersMethodcallOnChange
(transaction: Transaction)
src/ts/internal/transaction-monitor.ts:55
↓ 2 callersMethodcanMakePayments
Check if the device can make payments (iOS)
capacitor/src/definitions.ts:81
↓ 2 callersMethodcanMakePayments
(success: () => void, error: (message: string) => void)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:37
↓ 2 callersFunctioncb
(s: CdvPurchase.Storefront)
tests/storefronts.test.ts:241
↓ 2 callersMethodclear
()
src/ts/validator/validator.ts:31
↓ 2 callersFunctioncomputeMD5
(str, shiftFunction)
www/store.js:7615
↓ 2 callersFunctioncomputeMD5
(str: string, shiftFunction?: ShiftFunction)
src/ts/utils/md5.ts:131
↓ 2 callersMethodconsumePurchase
Consume a purchase (Android)
capacitor/src/definitions.ts:54
↓ 2 callersMethodconsumePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:27
↓ 2 callersMethodcreateAdapter
* Create an adapter instance using a registered factory. * * @returns The adapter instance, or undefined if no factory is re
www/store.js:874
↓ 2 callersMethodcreateAdapter
* Create an adapter instance using a registered factory. * * @returns The adapter instance, or undefined if no factory is re
src/ts/internal/adapters.ts:127
↓ 2 callersFunctionensureObject
(obj)
www/store.js:6856
↓ 2 callersFunctionextendAdditionalData
(ad?: CdvPurchase.AdditionalData)
src/ts/platforms/google-play/googleplay-bridge.ts:370
↓ 2 callersFunctionextendAdditionalData
(ad?: CdvPurchase.AdditionalData)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:185
↓ 2 callersMethodfailed
(callback)
www/store.js:2705
↓ 2 callersMethodfind
* Find the latest transaction for a given product, from those reported by the device.
src/ts/internal/local-receipts.ts:10
↓ 2 callersMethodfinish
(transactionId: string, success: () => void, error: (msg: string) => void)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:35
↓ 2 callersMethodget
* Retrieve the plugin definition. * * Useful to check if it is installed.
src/ts/platforms/braintree/braintree-bridge-applepay.ts:20
↓ 2 callersMethodgetAdapter
* Retrieve a platform adapter. * * The platform adapter has to have been initialized before. * * @see {@link initi
src/ts/store.ts:69
↓ 2 callersMethodgetOffer
* Find and return an offer for this product from its id * * If id isn't specified, returns the first offer. * * @p
src/ts/product.ts:109
↓ 2 callersMethodgetValueFor
* Retrieve a storefront value. * * - With a platform: always returns `{ platform, countryCode }`, * where `co
src/ts/internal/storefronts.ts:67
↓ 2 callersMethodhandleReceiptValidationResponse
* Handle platform specific fields from receipt validation response.
src/ts/types.ts:187
↓ 2 callersMethodhasLocalReceipts
()
src/ts/internal/receipts-monitor.ts:7
↓ 2 callersMethodhasTransaction
Return true if the receipt contains the given transaction
www/store.js:2797
↓ 2 callersMethodhasTransaction
Return true if the receipt contains the given transaction
src/ts/receipt.ts:37
↓ 2 callersMethodhasValidator
()
src/ts/internal/receipts-monitor.ts:9
↓ 2 callersFunctionhexStringFromArray
(array)
www/store.js:7507
↓ 2 callersFunctionhexStringFromArray
(array: number[])
src/ts/utils/md5.ts:13
↓ 2 callersMethodinitializeAppReceipt
* Create the application receipt
www/store.js:3530
↓ 2 callersMethodinitializeAppReceipt
* Create the application receipt
src/ts/platforms/apple-appstore/appstore-adapter.ts:473
↓ 2 callersMethodinitiatePurchaseFlow
(final BillingFlowParams params, final PluginCall call)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1214
↓ 2 callersMethodinitiatePurchaseFlow
Start a purchase or subscription replace flow.
src/android/cc/fovea/PurchasePlugin.java:967
↓ 2 callersMethodinitiated
Register a function called when a transaction is initiated.
src/ts/types.ts:392
↓ 2 callersFunctionisObject
(arg)
www/store.js:9165
↓ 2 callersFunctionisObject
(arg: any)
src/ts/validator/validator-deviceinfo.ts:53
↓ 2 callersMethodisPlayStoreBlocked
Check if a BillingResult indicates that the Play Store is blocked on this device (OEM kids mode, parental controls, enterprise policies). In GPBL V9,
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:408
↓ 2 callersMethodisPlayStoreBlocked
Check if a BillingResult indicates that the Play Store is blocked on this device (OEM kids mode, parental controls, enterprise policies). <p>In GPBL
src/android/cc/fovea/PurchasePlugin.java:1427
↓ 2 callersMethodjsonArrayToStringList
(JSONArray arr)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1260
↓ 2 callersMethodlaunch
()
www/store.js:1572
↓ 2 callersMethodlaunch
()
src/ts/internal/expiry-monitor.ts:83
↓ 2 callersMethodlaunchDropIn
(dropInRequest)
www/store.js:5667
↓ 2 callersMethodload
(success: () => void, fail: ErrorCallback, skus: string[], inAppSkus: string[], subsSkus:
src/ts/platforms/google-play/googleplay-bridge-interface.ts:16
↓ 2 callersMethodloadReceipts
()
www/store.js:3484
↓ 2 callersMethodloadReceipts
()
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:216
↓ 2 callersMethodonAcknowledgePurchaseResponse
(BillingResult result)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:880
↓ 2 callersMethodonInAppLoaded
(p, vp)
www/store.js:7396
↓ 2 callersMethodonInAppLoaded
(p: GProduct, vp: Bridge.InAppProduct)
src/ts/platforms/google-play/googleplay-products.ts:289
↓ 2 callersMethodonPurchaseConsumed
Called by the bridge when a purchase has been consumed
www/store.js:6358
↓ 2 callersMethodonPurchaseConsumed
Called by the bridge when a purchase has been consumed
src/ts/platforms/google-play/googleplay-adapter.ts:321
↓ 2 callersMethodonQueryPurchasesFinished
(final BillingResult result, final List<Purchase> purchases)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:963
↓ 2 callersMethodonQueryPurchasesFinished
( final BillingResult result, final List<Purchase> purchases)
src/android/cc/fovea/PurchasePlugin.java:378
↓ 2 callersMethodonSetPurchases
* Called when the platform reports some purchases
www/store.js:6417
↓ 2 callersMethodonSetPurchases
* Called when the platform reports some purchases
src/ts/platforms/google-play/googleplay-adapter.ts:398
↓ 2 callersMethodonTransactionExpired
Called when a transaction expires
src/ts/internal/expiry-monitor.ts:15
↓ 2 callersMethodonVerifiedPurchaseExpired
Called when a verified purchase expires
src/ts/internal/expiry-monitor.ts:12
↓ 2 callersMethodparseBillingFlowParams
( String productId, JSONObject additionalData, PluginCall call)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1095
↓ 2 callersMethodparseBillingFlowParams
(JSONArray data)
src/android/cc/fovea/PurchasePlugin.java:781
↓ 2 callersMethodparseReceiptArgs
(args)
www/store.js:4521
↓ 2 callersMethodparseReceiptArgs
(args)
www/store.js:4916
↓ 2 callersMethodparseReceiptArgs
(args: [string, string, string, number, string])
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:339
↓ 2 callersMethodparseReceiptArgs
(args: RawReceiptArgs)
src/ts/platforms/apple-appstore/appstore-bridge.ts:606
↓ 2 callersMethodparseStringArrayAtIndex
( final JSONArray data, final int index)
src/android/cc/fovea/PurchasePlugin.java:1397
↓ 2 callersMethodpresentCodeRedemptionSheet
Present the code redemption sheet (iOS)
capacitor/src/definitions.ts:87
↓ 2 callersMethodproductUpdated
Register a function called when a product is updated.
src/ts/types.ts:386
↓ 2 callersMethodpurchase
Purchase a product (iOS)
capacitor/src/definitions.ts:73
↓ 2 callersMethodpurchase
(productId: string, quantity: number, applicationUsername: string | undefined,
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:31
↓ 2 callersMethodpurchaseToJson
Convert a Purchase to JSON. CRITICAL 1: starts from getOriginalJson() and overlays fields.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:201
↓ 2 callersMethodpurchasesToJson
Convert a list of purchases to a JSONArray.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:219
↓ 2 callersMethodqueryProductDetailsAsync
( final List<Product> productList, final InternalProductDetailsResponseListener listen
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1064
↓ 2 callersMethodqueryProductDetailsAsync
( // @ProductType final String itemType, final List<Product> productList, final InternalProd
src/android/cc/fovea/PurchasePlugin.java:1276
↓ 2 callersMethodqueryPurchases
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:901
↓ 2 callersMethodqueryPurchases
Query purchases across various use cases and deliver the result in a formalized way through a listener.
src/android/cc/fovea/PurchasePlugin.java:433
↓ 2 callersMethodready
* Register a callback to be called when the plugin is ready. * * This happens when all the platforms are initialized and their produ
src/ts/store.ts:461
↓ 2 callersMethodreceiptValidationBody
* Prepare for receipt validation
src/ts/types.ts:182
↓ 2 callersMethodrefresh
(productId, originalTransactionIdentifier, transactionDate, discountId, expirationDateMs, jwsRepresentation, q
www/store.js:5214
↓ 2 callersMethodrefresh
* Refresh the value in the transaction based on the native purchase update
www/store.js:6129
↓ 2 callersMethodrefresh
(productId?: string, originalTransactionIdentifier?: string, transactionDate?: string, discoun
src/ts/platforms/apple-appstore/appstore-receipt.ts:47
↓ 2 callersMethodrefresh
(paymentRequest: PaymentRequest, dropInResult: DropIn.Result, decorator: Internal.TransactionDecorator)
src/ts/platforms/braintree/braintree-adapter.ts:175
↓ 2 callersMethodrefresh
* Refresh the value in the transaction based on the native purchase update
src/ts/platforms/google-play/googleplay-adapter.ts:41
↓ 2 callersMethodrefreshPurchase
Refresh the content of the purchase based on the native BridgePurchase
www/store.js:6175
↓ 2 callersMethodrefreshPurchase
Refresh the content of the purchase based on the native BridgePurchase
src/ts/platforms/google-play/googleplay-adapter.ts:92
↓ 2 callersMethodresetLastResult
(final int responseCode)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:153
↓ 2 callersMethodresetLastResult
Set last result to the given code. @param responseCode The response code to set.
src/android/cc/fovea/PurchasePlugin.java:158
↓ 2 callersMethodrestore
Restore completed transactions (iOS)
capacitor/src/definitions.ts:84
↓ 2 callersMethodrestore
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:39
↓ 2 callersMethodrestorePurchases
* Replay the queue of transactions. * * Might ask the user to login.
src/ts/types.ts:214
↓ 2 callersMethodsetPaymentMonitor
(fn)
www/store.js:3360
↓ 2 callersMethodsetPaymentMonitor
(fn: PaymentMonitor)
src/ts/platforms/apple-appstore/appstore-adapter.ts:276
↓ 2 callersMethodstartServiceConnection
(final Runnable executeOnSuccess, final Runnable executeOnFailure)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:418
↓ 2 callersMethodstartServiceConnection
Connects to the Billing server. Once connected, {@code executeOnSuccess} will be executed. @param executeOnSuccess Some code to run once connected.
src/android/cc/fovea/PurchasePlugin.java:1336
↓ 2 callersMethodstop
Stop monitoring the transaction.
src/ts/internal/transaction-monitor.ts:11
↓ 2 callersMethodstorePurchase
Store a purchase in the lookup maps.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:177
↓ 2 callersMethodsubscribe
Initiate a subscription flow (Android) or purchase (iOS)
capacitor/src/definitions.ts:28
↓ 2 callersMethodsubscribe
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPur
src/ts/platforms/google-play/googleplay-bridge-interface.ts:24
← previousnext →201–300 of 1,331, ranked by callers