Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/j3k0/cordova-plugin-purchase
/ functions
Functions
1,331 in github.com/j3k0/cordova-plugin-purchase
⨍
Functions
1,331
◇
Types & classes
595
↓ 2 callers
Method
add
Add a receipt to the validation queue. It'll get validated after a few milliseconds.
www/store.js:561
↓ 2 callers
Function
billingPeriod
(p)
src/windows/InAppPurchaseProxy.js:406
↓ 2 callers
Method
buy
Initiate a purchase flow
capacitor/src/definitions.ts:22
↓ 2 callers
Method
byPlatform
()
www/store.js:1412
↓ 2 callers
Method
byPlatform
()
src/ts/internal/register.ts:67
↓ 2 callers
Method
callOnChange
(transaction)
www/store.js:1459
↓ 2 callers
Method
callOnChange
(transaction: Transaction)
src/ts/internal/transaction-monitor.ts:55
↓ 2 callers
Method
canMakePayments
Check if the device can make payments (iOS)
capacitor/src/definitions.ts:81
↓ 2 callers
Method
canMakePayments
(success: () => void, error: (message: string) => void)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:37
↓ 2 callers
Function
cb
(s: CdvPurchase.Storefront)
tests/storefronts.test.ts:241
↓ 2 callers
Method
clear
()
src/ts/validator/validator.ts:31
↓ 2 callers
Function
computeMD5
(str, shiftFunction)
www/store.js:7615
↓ 2 callers
Function
computeMD5
(str: string, shiftFunction?: ShiftFunction)
src/ts/utils/md5.ts:131
↓ 2 callers
Method
consumePurchase
Consume a purchase (Android)
capacitor/src/definitions.ts:54
↓ 2 callers
Method
consumePurchase
(success: () => void, fail: ErrorCallback, purchaseToken: string)
src/ts/platforms/google-play/googleplay-bridge-interface.ts:27
↓ 2 callers
Method
createAdapter
* Create an adapter instance using a registered factory. * * @returns The adapter instance, or undefined if no factory is re
www/store.js:874
↓ 2 callers
Method
createAdapter
* 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 callers
Function
ensureObject
(obj)
www/store.js:6856
↓ 2 callers
Function
extendAdditionalData
(ad?: CdvPurchase.AdditionalData)
src/ts/platforms/google-play/googleplay-bridge.ts:370
↓ 2 callers
Function
extendAdditionalData
(ad?: CdvPurchase.AdditionalData)
src/ts/platforms/google-play/googleplay-bridge-capacitor.ts:185
↓ 2 callers
Method
failed
(callback)
www/store.js:2705
↓ 2 callers
Method
find
* Find the latest transaction for a given product, from those reported by the device.
src/ts/internal/local-receipts.ts:10
↓ 2 callers
Method
finish
(transactionId: string, success: () => void, error: (msg: string) => void)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:35
↓ 2 callers
Method
get
* Retrieve the plugin definition. * * Useful to check if it is installed.
src/ts/platforms/braintree/braintree-bridge-applepay.ts:20
↓ 2 callers
Method
getAdapter
* Retrieve a platform adapter. * * The platform adapter has to have been initialized before. * * @see {@link initi
src/ts/store.ts:69
↓ 2 callers
Method
getOffer
* 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 callers
Method
getValueFor
* Retrieve a storefront value. * * - With a platform: always returns `{ platform, countryCode }`, * where `co
src/ts/internal/storefronts.ts:67
↓ 2 callers
Method
handleReceiptValidationResponse
* Handle platform specific fields from receipt validation response.
src/ts/types.ts:187
↓ 2 callers
Method
hasLocalReceipts
()
src/ts/internal/receipts-monitor.ts:7
↓ 2 callers
Method
hasTransaction
Return true if the receipt contains the given transaction
www/store.js:2797
↓ 2 callers
Method
hasTransaction
Return true if the receipt contains the given transaction
src/ts/receipt.ts:37
↓ 2 callers
Method
hasValidator
()
src/ts/internal/receipts-monitor.ts:9
↓ 2 callers
Function
hexStringFromArray
(array)
www/store.js:7507
↓ 2 callers
Function
hexStringFromArray
(array: number[])
src/ts/utils/md5.ts:13
↓ 2 callers
Method
initializeAppReceipt
* Create the application receipt
www/store.js:3530
↓ 2 callers
Method
initializeAppReceipt
* Create the application receipt
src/ts/platforms/apple-appstore/appstore-adapter.ts:473
↓ 2 callers
Method
initiatePurchaseFlow
(final BillingFlowParams params, final PluginCall call)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1214
↓ 2 callers
Method
initiatePurchaseFlow
Start a purchase or subscription replace flow.
src/android/cc/fovea/PurchasePlugin.java:967
↓ 2 callers
Method
initiated
Register a function called when a transaction is initiated.
src/ts/types.ts:392
↓ 2 callers
Function
isObject
(arg)
www/store.js:9165
↓ 2 callers
Function
isObject
(arg: any)
src/ts/validator/validator-deviceinfo.ts:53
↓ 2 callers
Method
isPlayStoreBlocked
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 callers
Method
isPlayStoreBlocked
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 callers
Method
jsonArrayToStringList
(JSONArray arr)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1260
↓ 2 callers
Method
launch
()
www/store.js:1572
↓ 2 callers
Method
launch
()
src/ts/internal/expiry-monitor.ts:83
↓ 2 callers
Method
launchDropIn
(dropInRequest)
www/store.js:5667
↓ 2 callers
Method
load
(success: () => void, fail: ErrorCallback, skus: string[], inAppSkus: string[], subsSkus:
src/ts/platforms/google-play/googleplay-bridge-interface.ts:16
↓ 2 callers
Method
loadReceipts
()
www/store.js:3484
↓ 2 callers
Method
loadReceipts
()
src/ts/platforms/iaptic-js/iapticjs-adapter.ts:216
↓ 2 callers
Method
onAcknowledgePurchaseResponse
(BillingResult result)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:880
↓ 2 callers
Method
onInAppLoaded
(p, vp)
www/store.js:7396
↓ 2 callers
Method
onInAppLoaded
(p: GProduct, vp: Bridge.InAppProduct)
src/ts/platforms/google-play/googleplay-products.ts:289
↓ 2 callers
Method
onPurchaseConsumed
Called by the bridge when a purchase has been consumed
www/store.js:6358
↓ 2 callers
Method
onPurchaseConsumed
Called by the bridge when a purchase has been consumed
src/ts/platforms/google-play/googleplay-adapter.ts:321
↓ 2 callers
Method
onQueryPurchasesFinished
(final BillingResult result, final List<Purchase> purchases)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:963
↓ 2 callers
Method
onQueryPurchasesFinished
( final BillingResult result, final List<Purchase> purchases)
src/android/cc/fovea/PurchasePlugin.java:378
↓ 2 callers
Method
onSetPurchases
* Called when the platform reports some purchases
www/store.js:6417
↓ 2 callers
Method
onSetPurchases
* Called when the platform reports some purchases
src/ts/platforms/google-play/googleplay-adapter.ts:398
↓ 2 callers
Method
onTransactionExpired
Called when a transaction expires
src/ts/internal/expiry-monitor.ts:15
↓ 2 callers
Method
onVerifiedPurchaseExpired
Called when a verified purchase expires
src/ts/internal/expiry-monitor.ts:12
↓ 2 callers
Method
parseBillingFlowParams
( String productId, JSONObject additionalData, PluginCall call)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1095
↓ 2 callers
Method
parseBillingFlowParams
(JSONArray data)
src/android/cc/fovea/PurchasePlugin.java:781
↓ 2 callers
Method
parseReceiptArgs
(args)
www/store.js:4521
↓ 2 callers
Method
parseReceiptArgs
(args)
www/store.js:4916
↓ 2 callers
Method
parseReceiptArgs
(args: [string, string, string, number, string])
src/ts/platforms/apple-appstore/appstore-bridge-sk2.ts:339
↓ 2 callers
Method
parseReceiptArgs
(args: RawReceiptArgs)
src/ts/platforms/apple-appstore/appstore-bridge.ts:606
↓ 2 callers
Method
parseStringArrayAtIndex
( final JSONArray data, final int index)
src/android/cc/fovea/PurchasePlugin.java:1397
↓ 2 callers
Method
presentCodeRedemptionSheet
Present the code redemption sheet (iOS)
capacitor/src/definitions.ts:87
↓ 2 callers
Method
productUpdated
Register a function called when a product is updated.
src/ts/types.ts:386
↓ 2 callers
Method
purchase
Purchase a product (iOS)
capacitor/src/definitions.ts:73
↓ 2 callers
Method
purchase
(productId: string, quantity: number, applicationUsername: string | undefined,
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:31
↓ 2 callers
Method
purchaseToJson
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 callers
Method
purchasesToJson
Convert a list of purchases to a JSONArray.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:219
↓ 2 callers
Method
queryProductDetailsAsync
( final List<Product> productList, final InternalProductDetailsResponseListener listen
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:1064
↓ 2 callers
Method
queryProductDetailsAsync
( // @ProductType final String itemType, final List<Product> productList, final InternalProd
src/android/cc/fovea/PurchasePlugin.java:1276
↓ 2 callers
Method
queryPurchases
()
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:901
↓ 2 callers
Method
queryPurchases
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 callers
Method
ready
* 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 callers
Method
receiptValidationBody
* Prepare for receipt validation
src/ts/types.ts:182
↓ 2 callers
Method
refresh
(productId, originalTransactionIdentifier, transactionDate, discountId, expirationDateMs, jwsRepresentation, q
www/store.js:5214
↓ 2 callers
Method
refresh
* Refresh the value in the transaction based on the native purchase update
www/store.js:6129
↓ 2 callers
Method
refresh
(productId?: string, originalTransactionIdentifier?: string, transactionDate?: string, discoun
src/ts/platforms/apple-appstore/appstore-receipt.ts:47
↓ 2 callers
Method
refresh
(paymentRequest: PaymentRequest, dropInResult: DropIn.Result, decorator: Internal.TransactionDecorator)
src/ts/platforms/braintree/braintree-adapter.ts:175
↓ 2 callers
Method
refresh
* Refresh the value in the transaction based on the native purchase update
src/ts/platforms/google-play/googleplay-adapter.ts:41
↓ 2 callers
Method
refreshPurchase
Refresh the content of the purchase based on the native BridgePurchase
www/store.js:6175
↓ 2 callers
Method
refreshPurchase
Refresh the content of the purchase based on the native BridgePurchase
src/ts/platforms/google-play/googleplay-adapter.ts:92
↓ 2 callers
Method
resetLastResult
(final int responseCode)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:153
↓ 2 callers
Method
resetLastResult
Set last result to the given code. @param responseCode The response code to set.
src/android/cc/fovea/PurchasePlugin.java:158
↓ 2 callers
Method
restore
Restore completed transactions (iOS)
capacitor/src/definitions.ts:84
↓ 2 callers
Method
restore
(callback?: Callback<any>)
src/ts/platforms/apple-appstore/appstore-bridge-interface.ts:39
↓ 2 callers
Method
restorePurchases
* Replay the queue of transactions. * * Might ask the user to login.
src/ts/types.ts:214
↓ 2 callers
Method
setPaymentMonitor
(fn)
www/store.js:3360
↓ 2 callers
Method
setPaymentMonitor
(fn: PaymentMonitor)
src/ts/platforms/apple-appstore/appstore-adapter.ts:276
↓ 2 callers
Method
startServiceConnection
(final Runnable executeOnSuccess, final Runnable executeOnFailure)
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:418
↓ 2 callers
Method
startServiceConnection
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 callers
Method
stop
Stop monitoring the transaction.
src/ts/internal/transaction-monitor.ts:11
↓ 2 callers
Method
storePurchase
Store a purchase in the lookup maps.
capacitor/android/src/main/java/cc/fovea/iap/PurchasePlugin.java:177
↓ 2 callers
Method
subscribe
Initiate a subscription flow (Android) or purchase (iOS)
capacitor/src/definitions.ts:28
↓ 2 callers
Method
subscribe
(success: () => void, fail: ErrorCallback, productId: string, additionalData: CdvPur
src/ts/platforms/google-play/googleplay-bridge-interface.ts:24
← previous
next →
201–300 of 1,331, ranked by callers