MCPcopy Create free account

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

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

↓ 6 callersMethodrun
Run validation for all receipts in the queue
www/store.js:570
↓ 6 callersFunctionsetCapacitorDevice
(plugin: { getInfo?: () => Promise<any>, getId?: () => Promise<any> })
tests/validator-deviceinfo.test.ts:14
↓ 6 callersFunctionwindowsStoreError
(code, message, productId)
www/store.js:8786
↓ 6 callersFunctionwindowsStoreError
(code: ErrorCode, message: string, productId: string | null)
src/ts/platforms/windows-store/windows-adapter.ts:49
↓ 5 callersFunctioncaptureRequestBody
(platform: CdvPurchase.Platform, store: CdvPurchase.Store)
tests/validator-request-body.test.ts:44
↓ 5 callersMethodcheckSupport
* Returns true if the platform supports the given functionality.
src/ts/types.ts:207
↓ 5 callersMethodgetStorefront
(success: (countryCode: string) => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:43
↓ 5 callersMethodisSupported
Returns true on Android, the only platform supported by this Braintree bridge
www/store.js:5659
↓ 5 callersFunctionlog
(verbosity: boolean | LogLevel, level: LogLevel, prefix: string, o: any)
src/ts/log.ts:135
↓ 5 callersFunctionlogAndFail
(code)
src/windows/InAppPurchaseProxy.js:448
↓ 5 callersFunctionmakeReceipt
(tx: Partial<CdvPurchase.Transaction>)
tests/local-receipts.test.ts:16
↓ 5 callersMethodready
* Register a callback to be called when the plugin is ready. * * This happens when all the platforms are initialized and their produ
www/store.js:2030
↓ 5 callersMethodrefreshWith
* Refresh the cached value for a given adapter. * * The returned promise: * - resolves when the adapter respo
src/ts/internal/storefronts.ts:38
↓ 5 callersMethodregister
* Register a product. * * @example * store.register([{ * id: 'subscription1', * type: Product
www/store.js:1942
↓ 5 callersMethodresolve
Call all registered callbacks with the given value
src/ts/internal/promise-like.ts:20
↓ 5 callersFunctionrunValidator
(payload: unknown)
tests/validator-response-validation.test.ts:49
↓ 5 callersMethodwarn
* Logs a warning message, only if `store.verbosity` >= store.WARNING
www/store.js:278
↓ 5 callersMethodwarn
* Logs a warning message, only if `store.verbosity` >= store.WARNING
src/ts/log.ts:68
↓ 4 callersMethodacknowledgePurchase
Acknowledge a purchase (Android)
capacitor/src/definitions.ts:57
↓ 4 callersFunctionadd32
(r, n)
www/store.js:7513
↓ 4 callersFunctionadd32
(r: number, n: number)
src/ts/utils/md5.ts:20
↓ 4 callersMethodapproved
Register a function called when a transaction is approved.
src/ts/types.ts:395
↓ 4 callersMethodareSubscriptionsSupported
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:463
↓ 4 callersMethodareSubscriptionsSupported
Checks if subscriptions are supported for current client <p>Note: This method does not automatically retry for RESULT_SERVICE_DISCONNECTED. It is only
src/android/cc/fovea/PurchasePlugin.java:518
↓ 4 callersMethodbuy
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPurchase.
src/ts/platforms/google-play/googleplay-bridge-interface.ts:21
↓ 4 callersMethodcallPaymentMonitor
(status, code, message)
www/store.js:3363
↓ 4 callersMethodcallPaymentMonitor
(status: PaymentMonitorStatus, code?: ErrorCode, message?: string)
src/ts/platforms/apple-appstore/appstore-adapter.ts:279
↓ 4 callersFunctioncomplexShift
(r, n, e, t, o, u, shiftFunction)
www/store.js:7516
↓ 4 callersFunctioncomplexShift
(r: number, n: number, e: number, t: number, o: number, u: number, shiftFunction: ShiftFunction)
src/ts/utils/md5.ts:24
↓ 4 callersFunctionextendAdditionalData
(ad)
www/store.js:6859
↓ 4 callersMethodfinishDuplicate
Finish a duplicate subscription transaction at the native level so StoreKit won't re-deliver it
src/ts/internal/adapter-listener.ts:14
↓ 4 callersMethodgetOffer
* Find and return an offer for this product from its id * * If id isn't specified, returns the first offer. * * @p
www/store.js:426
↓ 4 callersMethodgetPurchases
Query existing purchases
capacitor/src/definitions.ts:19
↓ 4 callersMethodgetPurchases
(success: () => void, fail: ErrorCallback)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:19
↓ 4 callersMethodinit
Initialize the billing client
capacitor/src/definitions.ts:10
↓ 4 callersMethodinit
(success: () => void, fail: ErrorCallback, options: Options)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:14
↓ 4 callersMethodisAvailable
Check if the SK2 extension plugin is installed
www/store.js:4330
↓ 4 callersMethodloadReceipts
* Load the receipts
src/ts/types.ts:159
↓ 4 callersMethodloadReceipts
(callback: (receipt: ApplicationReceipt) => void, errorCb: (code: ErrorCode, mess
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:45
↓ 4 callersMethodmanageBilling
()
src/ts/platforms/google-play/googleplay-bridge-interface.ts:39
↓ 4 callersMethodmanageSubscriptions
()
src/ts/platforms/google-play/googleplay-bridge-interface.ts:37
↓ 4 callersMethodnumValidationRequests
()
src/ts/internal/receipts-monitor.ts:10
↓ 4 callersMethodnumValidationResponses
()
src/ts/internal/receipts-monitor.ts:11
↓ 4 callersMethodobfuscateUsername
* Obfuscate the application username according to the configured obfuscation strategy. * * See {@link Obfuscator} for the per-mode o
src/ts/store.ts:145
↓ 4 callersMethodonPriceChangeConfirmationResult
(result)
www/store.js:6482
↓ 4 callersMethodonPriceChangeConfirmationResult
(result: "OK" | "UserCanceled" | "UnknownProduct")
src/ts/platforms/google-play/googleplay-adapter.ts:469
↓ 4 callersMethodonPurchasesUpdated
* Called when the platform reports updates for some purchases * * Notice that purchases can be removed from the array, we sh
www/store.js:6430
↓ 4 callersMethodonPurchasesUpdated
* Called when the platform reports updates for some purchases * * Notice that purchases can be removed from the array, we s
src/ts/platforms/google-play/googleplay-adapter.ts:413
↓ 4 callersMethodrun
Run validation for all receipts in the queue
src/ts/validator/validator.ts:112
↓ 4 callersMethodsendToListener
Send a message to the javascript bridge (GooglePlay.Bridge). @param type Message type / identifer. @param data Message arguments.
src/android/cc/fovea/PurchasePlugin.java:194
↓ 4 callersMethodsuccess
()
src/ts/platforms/google-play/googleplay-adapter.ts:476
↓ 4 callersMethodtoJSON
(final List<Purchase> purchaseList)
src/android/cc/fovea/PurchasePlugin.java:400
↓ 4 callersMethodtrigger
@internal
src/ts/payment-request.ts:36
↓ 3 callersMethodacknowledgePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:30
↓ 3 callersMethodcodeToString
(int code)
src/android/cc/fovea/PurchasePlugin.java:719
↓ 3 callersMethodfailed
(callback: Callback<IError>)
src/ts/payment-request.ts:6
↓ 3 callersFunctionformatDurationEN
(iso?: string, options?: {omitOne?: boolean})
src/ts/utils/format-duration.ts:17
↓ 3 callersMethodgetAvailableProducts
Query available products
capacitor/src/definitions.ts:13
↓ 3 callersMethodgetAvailableProducts
(inAppSkus: string[], subsSkus: string[], success: (validProducts: (InApp
src/ts/platforms/google-play/googleplay-bridge-interface.ts:33
↓ 3 callersMethodgetLastResponseCode
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:149
↓ 3 callersMethodgetLastResponseCode
Last response code from the billing client. @return The last response code from the billing client.
src/android/cc/fovea/PurchasePlugin.java:149
↓ 3 callersMethodgetOffer
(id)
www/store.js:7165
↓ 3 callersMethodgetOffer
(id: string)
src/ts/platforms/google-play/googleplay-products.ts:48
↓ 3 callersMethodgetPurchases
Refresh purchases from GooglePlay
www/store.js:6485
↓ 3 callersMethodgetPurchases
Refresh purchases from GooglePlay
src/ts/platforms/google-play/googleplay-adapter.ts:473
↓ 3 callersFunctionhashStep
(inOutVec4, strAsInts, shiftFunction)
www/store.js:7529
↓ 3 callersFunctionhashStep
(inOutVec4: [number, number, number, number], strAsInts: number[], shiftFunction?: ShiftFunction | undefined)
src/ts/utils/md5.ts:39
↓ 3 callersMethodincrResponsesCounter
()
www/store.js:541
↓ 3 callersMethodincrResponsesCounter
()
src/ts/validator/validator.ts:80
↓ 3 callersMethodisAvailable
Check if the SK2 extension plugin is installed
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:85
↓ 3 callersMethodisOwned
Return true if a product is owned
www/store.js:2898
↓ 3 callersMethodisOwned
Return true if a product is owned
src/ts/internal/local-receipts.ts:31
↓ 3 callersMethodisReady
true if the plugin is initialized and ready
src/ts/store.ts:464
↓ 3 callersMethodisSupported
()
src/ts/platforms/braintree/braintree-adapter.ts:212
↓ 3 callersMethodlength
()
src/ts/validator/validator.ts:18
↓ 3 callersMethodload
Load product details (iOS)
capacitor/src/definitions.ts:67
↓ 3 callersMethodloadAppStoreReceipt
Promisified loading of the AppStore receipt
www/store.js:3581
↓ 3 callersMethodloadAppStoreReceipt
Promisified loading of the AppStore receipt
src/ts/platforms/apple-appstore/appstore-adapter.ts:526
↓ 3 callersFunctionmakeLogger
()
tests/validator-request-body.test.ts:7
↓ 3 callersFunctionmakeLogger
()
tests/validator-response-validation.test.ts:7
↓ 3 callersMethodpresentCodeRedemptionSheet
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:42
↓ 3 callersMethodrefresh
(purchases: ModuleIapticJS.Purchase[])
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:34
↓ 3 callersMethodrefreshReceipts
Refresh App Store receipts (iOS)
capacitor/src/definitions.ts:90
↓ 3 callersMethodrefreshReceipts
(successCb: (receipt: ApplicationReceipt) => void, errorCb: (code: ErrorCode,
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:43
↓ 3 callersMethodregister
* Register a product. * * @example * store.register([{ * id: 'subscription1', * type: Product
src/ts/store.ts:364
↓ 3 callersMethodremoveTransactionInProgress
Remove a transaction from the pseudo receipt
www/store.js:3305
↓ 3 callersMethodremoveTransactionInProgress
Remove a transaction from the pseudo receipt
src/ts/platforms/apple-appstore/appstore-adapter.ts:217
↓ 3 callersMethodretry
(fn)
www/store.js:3019
↓ 3 callersMethodretry
(fn: F)
src/ts/internal/retry.ts:40
↓ 3 callersFunctionsetCordovaDevice
(device: any)
tests/validator-deviceinfo.test.ts:10
↓ 3 callersFunctionstep
(result)
www/store.js:7
↓ 3 callersMethodunverified
Register a function called when a receipt failed validation.
src/ts/types.ts:407
↓ 3 callersFunctionupdateVerifiedPurchases
(tr)
www/store.js:8095
↓ 3 callersFunctionupdateVerifiedPurchases
(tr: Transaction)
src/ts/platforms/test/test-adapter.ts:11
↓ 3 callersMethodupsertTransaction
Insert or update a transaction in the pseudo receipt, based on data collected from the native side
www/store.js:3310
↓ 3 callersMethodupsertTransaction
Insert or update a transaction in the pseudo receipt, based on data collected from the native side
src/ts/platforms/apple-appstore/appstore-adapter.ts:223
↓ 3 callersMethodupsertTransactionInProgress
(productId, state)
www/store.js:3285
↓ 3 callersMethodupsertTransactionInProgress
(productId: string, state: TransactionState)
src/ts/platforms/apple-appstore/appstore-adapter.ts:196
↓ 3 callersFunctionvirtualTransactionId
* In the first stages of a purchase, the transaction doesn't have an identifier. * * In the meantime, we generate a virtual transact
www/store.js:3195
↓ 3 callersFunctionvirtualTransactionId
* In the first stages of a purchase, the transaction doesn't have an identifier. * * In the meantime, we generate a virtual transact
src/ts/platforms/apple-appstore/appstore-adapter.ts:77
← previousnext →101–200 of 1,331, ranked by callers